Obtain a new instance of a
ResourceAssignmentServiceFactory. This static method
creates a new factory instance. The method uses the following
ordered lookup procedure to determine the
ResourceAssignmentServiceFactory implementation class
to load:
If an
javax.naming.InitialContext initial naming context is available, look for a a classname in
java:comp/env/de.danet.an.workflow.spis.ras.ResourceAssignmentServiceFactory.
The configuration for a class as resource assignment service
thus looks like:
<env-entry>
<description>Configure the resource assignment factory</description>
<env-entry-name>de.danet.an.workflow.spis.ras.ResourceAssignmentServiceFactory</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>FactoryImplementationClass</env-entry-value>
</env-entry>
Use the services API (as detailed in the JAR specification),
if available, to determine the classname. The Services API
will look for a classname in the file
META-INF/services/de.danet.an.workflow.spis.ras.ResourceAssignmentServiceFactory.
in jars available to the runtime.
an instance of the ResourceAssignmentServiceFactory. throws: FactoryConfigurationError - if a factory instance can't becreated.