Constructor and Description |
---|
RegistrarImple() |
Modifier and Type | Method and Description |
---|---|
void |
associate() |
void |
associate(BACoordinator transaction) |
void |
disassociate(String txIdentifier) |
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.
|
public RegistrarImple() throws ProtocolNotRegisteredException, SystemException
public void install(String protocolIdentifier)
public W3CEndpointReference register(W3CEndpointReference participantProtocolService, String protocolIdentifier, InstanceIdentifier instanceIdentifier, boolean isSecure) throws AlreadyRegisteredException, InvalidProtocolException, InvalidStateException, NoActivityException
register
in interface Registrar
participantProtocolService
- the address 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 activity does not exist.public void uninstall(String protocolIdentifier)
public final void associate(BACoordinator transaction) throws Exception
Exception
Copyright © 2020 JBoss by Red Hat. All rights reserved.