Specifies the resource assignment service to be used by the instances of
ResourceManagementService ResourceManagementService subsequently created (by calling
ResourceManagementServiceFactory.newResourceManagementServicenewResourceManagementService() ).
A resource management service needs a reference to a resource assignment
service to be able to implement
de.danet.an.workflow.omgcore.WfResource WfResource objects. The method workItems requires that a
WfAssignment be returned, something that can only be done
in cooperation with the resource assignment service.
An implementation problem may arise from the requirement to set a
ResourceAssignmentService as implementations of
ResourceAssignmentService that in turn rely on a
ResourceManagementService may need a
ResourceManagementService in order to be instantiated.
Such implementations of ResourceAssignmentService have
therefore to delay the actual request for a
ResourceManagementService instance until they have made
themselves known to the ResourceManagementServiceFactory .
Parameters: service - the resource management service. See Also: ResourceManagementServiceFactory.getResourceAssignmentService |