public interface Registrar
Modifier and Type | Method and Description |
---|---|
void |
install(String protocolIdentifier)
Called when a registrar is added to a register mapper.
|
W3CEndpointReference |
register(W3CEndpointReference participantProtocolService,
String protocolIdentifier,
InstanceIdentifier instanceIdentifier,
boolean isSecure)
Registers the interest of participant in a particular protocol.
|
void |
uninstall(String protocolIdentifier)
Called when a registrar is removed from a register mapper.
|
void install(String protocolIdentifier)
protocolIdentifier
- the protocol identifierW3CEndpointReference register(W3CEndpointReference participantProtocolService, String protocolIdentifier, InstanceIdentifier instanceIdentifier, boolean isSecure) throws AlreadyRegisteredException, InvalidProtocolException, InvalidStateException, NoActivityException
participantProtocolService
- the port reference of the participant protocol serviceprotocolIdentifier
- the protocol identifierinstanceIdentifier
- the instance identifier, this may be nullAlreadyRegisteredException
- 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 existvoid uninstall(String protocolIdentifier)
protocolIdentifier
- the protocol identifierCopyright © 2017 JBoss by Red Hat. All rights reserved.