This singleton class is responsible for managing coordinated
activities for the entire appserver.
Whenever a new coordinated activity is started, a new
Coordinator object is constructed and managed by this class.
author: Ryan.Shoemaker@Sun.COM version: $Revision: 1.7 $ since: 1.0
Get the
Coordinator object with the given coordination id
Parameters: id - the coordination context id the Coordinator object or null if the id doesn't exist
Create a
Coordinator object from the incoming request and
add it to the list of managed activities. The actual type of the
Coordinator object created will depend on the
com.sun.xml.ws.api.tx.Protocol specified in the contextRequest
parameter.
This method is invoked when we receive a createCoordinationContext soap
request.
Parameters: contextRequest - the incoming wscoor:createCoordinationContext message the coordinator
Lookup if coordinator exists for context, if not, create a
Coordinator object from the given coordination
context and add it to the list of managed activities. The actual
type of the
Coordinator object created will depend on the
protocol identifier contained in the context.
This method is used for direct private invocation within the
appserver.
Parameters: context - the coordination context the coordinator
Add the specified
Coordinator object to the list of managed
activities.
TODO: what about duplicate keys or entries?
Parameters: coordinator - coordinator