Package com.arjuna.wsc11
Interface Registrar
public interface Registrar
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when a registrar is added to a register mapper.jakarta.xml.ws.wsaddressing.W3CEndpointReference
register
(jakarta.xml.ws.wsaddressing.W3CEndpointReference participantProtocolService, String protocolIdentifier, com.arjuna.webservices11.wsarj.InstanceIdentifier instanceIdentifier, boolean isSecure) Registers the interest of participant in a particular protocol.void
Called when a registrar is removed from a register mapper.
-
Method Details
-
install
Called when a registrar is added to a register mapper. This method will be called multiple times if the registrar is added to multiple register mappers or to the same register mapper with different protocol identifiers.- Parameters:
protocolIdentifier
- the protocol identifier
-
register
jakarta.xml.ws.wsaddressing.W3CEndpointReference register(jakarta.xml.ws.wsaddressing.W3CEndpointReference participantProtocolService, String protocolIdentifier, com.arjuna.webservices11.wsarj.InstanceIdentifier instanceIdentifier, boolean isSecure) throws AlreadyRegisteredException, InvalidProtocolException, InvalidStateException, NoActivityException Registers the interest of participant in a particular protocol.- Parameters:
participantProtocolService
- the port reference of the participant protocol serviceprotocolIdentifier
- the protocol identifierinstanceIdentifier
- the instance identifier, this may be null- Returns:
- the port reference of the coordinator protocol service
- Throws:
AlreadyRegisteredException
- if the participant is already registered for this coordination protocol under this activity identifierInvalidProtocolException
- if the coordination protocol is not supportedInvalidStateException
- if the state of the coordinator no longer allows registration for this coordination protocolNoActivityException
- if the actvity does not exist
-
uninstall
Called when a registrar is removed from a register mapper. This method will be called multiple times if the registrar is removed from multiple register mappers or from the same register mapper with different protocol identifiers.- Parameters:
protocolIdentifier
- the protocol identifier
-