public class ContextFactoryImple extends Object implements ContextFactory
| Modifier and Type | Class and Description |
|---|---|
class |
ContextFactoryImple.BridgeTxData
class used to return data required to manage a bridged to subordinate transaction
|
| Constructor and Description |
|---|
ContextFactoryImple() |
| Modifier and Type | Method and Description |
|---|---|
CoordinationContext |
create(String coordinationTypeURI,
Long expires,
CoordinationContextType currentContext,
boolean isSecure)
Creates a coordination context.
|
ContextFactoryImple.BridgeTxData |
createBridgedTransaction(Long expires,
boolean isSecure)
create a bridged to subordinate WS-BA 1.1 transaction, associate it with the registrar and create and return
a coordination context for it.
|
Object |
createSubordinate() |
void |
install(String coordinationTypeURI)
Called when a context factory is added to a context factory mapper.
|
RegistrarImple |
registrar() |
void |
uninstall(String coordinationTypeURI)
Called when a context factory is removed from a context factory mapper.
|
public void install(String coordinationTypeURI)
install in interface ContextFactorycoordinationTypeURI - the coordination type uripublic CoordinationContext create(String coordinationTypeURI, Long expires, CoordinationContextType currentContext, boolean isSecure) throws InvalidCreateParametersException
create in interface ContextFactorycoordinationTypeURI - the coordination type uriexpires - the expire date/time for the returned context, can be nullcurrentContext - the current context, can be nullInvalidCreateParametersException - if a parameter passed is invalid
this activity identifier.public ContextFactoryImple.BridgeTxData createBridgedTransaction(Long expires, boolean isSecure)
expires - the timeout for the bridged to BA transactionisSecure - true if the registration cooridnator URL should use a secure address, otherwise false.public void uninstall(String coordinationTypeURI)
uninstall in interface ContextFactorycoordinationTypeURI - the coordination type uripublic final Object createSubordinate() throws NoActivityException, InvalidProtocolException, SystemException
public final RegistrarImple registrar()
Copyright © 2019 JBoss by Red Hat. All rights reserved.