asResource(Principal principal) Given a
java.security.Principal principal , return the
workflow resource associated with this principal by the
resource management facility.
Constructs a new resource management service.
Parameters: props - the configuration properties Parameters: rasvc - the resource assignment service throws: FactoryConfigurationError - if the required resourcescannot be obtained
Given a
java.security.Principal principal , return the
workflow resource associated with this principal by the
resource management facility.
Parameters: principal - the principal. a WfResource object corresponding to thegiven principal. throws: ResourceNotFoundException - if the StaffMember with the given keycan't be found or the key is not associate with an StaffMember object. throws: RemoteException - if a system-level error occurs.
The resSel parameter is evaluated if it is of type
java.lang.String only. It takes the
following format:
R:role name
Selects the role with the given name.
G:group name
Selects the group with the given name.
M:member id
Selects the member with the given id.
Parameters: resSel - an object that describes resource selection criteria. collection of WfResource objects. throws: RemoteException - if a system-level error occurs. throws: UnsupportedOperationException - if the resource managementservice does not support this feature.