Package | Description |
---|---|
org.jboss.ejb.client | |
org.jboss.ejb.client.remoting | |
org.jboss.naming.remote.client.ejb |
Modifier and Type | Method and Description |
---|---|
static EJBClientContext |
EJBClientContext.create()
Creates and returns a new client context.
|
static EJBClientContext |
EJBClientContext.create(ClassLoader classLoader)
Creates and returns a new client context, using the given class loader to look for initializers.
|
static EJBClientContext |
EJBClientContext.create(EJBClientConfiguration ejbClientConfiguration)
Creates and returns a new client context.
|
static EJBClientContext |
EJBClientContext.create(EJBClientConfiguration ejbClientConfiguration,
ClassLoader classLoader)
Creates and returns a new client context, using the given class loader to look for initializers.
|
EJBClientContext |
EJBReceiverContext.getClientContext() |
EJBClientContext |
EJBClientInvocationContext.getClientContext()
Get the EJB client context associated with this invocation.
|
EJBClientContext |
IdentityEJBClientContextSelector.getContext(EJBClientContextIdentifier identifier)
Returns a context for the passed
identifier . |
static EJBClientContext |
EJBClientContext.getCurrent()
Get the current client context for this thread.
|
EJBClientContext |
ClusterContext.getEJBClientContext()
Deprecated.
|
static EJBClientContext |
EJBClientContext.require(EJBClientContextIdentifier ejbClientContextIdentifier)
Returns a
EJBClientContext which is identified by the passed ejbClientContextIdentifier . |
static EJBClientContext |
EJBClientContext.requireCurrent()
Get the current client context for this thread, throwing an exception if none is set.
|
EJBClientContext |
IdentityEJBClientContextSelector.unRegisterContext(EJBClientContextIdentifier identifier)
Unregisters and returns a previously registered
EJBClientContext , for the passed identifier . |
Modifier and Type | Method and Description |
---|---|
static ContextSelector<EJBClientContext> |
EJBClientContext.getSelector()
Returns the current EJB client context selector
|
static ContextSelector<EJBClientContext> |
EJBClientContext.setConstantContext(EJBClientContext context)
Set a constant EJB client context.
|
static ContextSelector<EJBClientContext> |
EJBClientContext.setSelector(ContextSelector<EJBClientContext> newSelector)
Sets the EJB client context selector.
|
Modifier and Type | Method and Description |
---|---|
void |
EJBClientContextListener.contextClosed(EJBClientContext ejbClientContext)
This method will be invoked when the
EJBClientContext to which this
listener is registered is closed |
IllegalStateException |
Logs.ejbClientContextIsClosed(EJBClientContext ejbClientContext) |
void |
TransactionRecoveryContextInitializer.initialize(EJBClientContext context) |
void |
EJBClientContextInitializer.initialize(EJBClientContext context)
Deprecated.
Initialize a new client context.
|
void |
DefaultInterceptorsClientContextInitializer.initialize(EJBClientContext context)
Deprecated.
|
IllegalStateException |
Logs.receiverNotAssociatedWithClientContext(EJBReceiver receiver,
EJBClientContext clientContext) |
void |
IdentityEJBClientContextSelector.registerContext(EJBClientContextIdentifier identifier,
EJBClientContext context)
Associates the passed
EJBClientContext to the identifier
It's up to the individual implementations to decide whether to throw an exception
if there's already an EJBClientContext registered for the passed identifier |
static ContextSelector<EJBClientContext> |
EJBClientContext.setConstantContext(EJBClientContext context)
Set a constant EJB client context.
|
Modifier and Type | Method and Description |
---|---|
static ContextSelector<EJBClientContext> |
EJBClientContext.setSelector(ContextSelector<EJBClientContext> newSelector)
Sets the EJB client context selector.
|
Modifier and Type | Field and Description |
---|---|
protected EJBClientContext |
ConfigBasedEJBClientContextSelector.ejbClientContext |
Modifier and Type | Method and Description |
---|---|
EJBClientContext |
ConfigBasedEJBClientContextSelector.getContext(EJBClientContextIdentifier identifier) |
EJBClientContext |
ConfigBasedEJBClientContextSelector.getCurrent() |
EJBClientContext |
ConfigBasedEJBClientContextSelector.unRegisterContext(EJBClientContextIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
void |
ConfigBasedEJBClientContextSelector.registerContext(EJBClientContextIdentifier identifier,
EJBClientContext context) |
Modifier and Type | Method and Description |
---|---|
EJBClientContext |
RemoteNamingEjbClientContextSelector.getCurrent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ContextSelector<EJBClientContext> |
RemoteNamingEjbClientContextSelector.setupSelector()
Deprecated.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.