public interface ContextFactory
Modifier and Type | Method and Description |
---|---|
CoordinationContext |
create(String coordinationTypeURI,
Long expires,
CoordinationContextType currentContext,
boolean isSecure)
Creates a coordination context.
|
void |
install(String coordinationTypeURI)
Called when a context factory is added to a context factory mapper.
|
void |
uninstall(String coordinationTypeURI)
Called when a context factory is removed from a context factory mapper.
|
void install(String coordinationTypeURI)
coordinationTypeURI
- the coordination type uriCoordinationContext create(String coordinationTypeURI, Long expires, CoordinationContextType currentContext, boolean isSecure) throws InvalidCreateParametersException
coordinationTypeURI
- the coordination type uriexpires
- the expire date/time for the returned context, can be nullcurrentContext
- the current coordination context, can be nullInvalidCreateParametersException
- if a parameter passed is invalid
this activity identifiervoid uninstall(String coordinationTypeURI)
coordinationTypeURI
- the coordination type uriCopyright © 2016 JBoss by Red Hat. All rights reserved.