Package | Description |
---|---|
org.jboss.ejb.client | |
org.jboss.ejb.client.remoting |
Modifier and Type | Class and Description |
---|---|
class |
NamedEJBClientContextIdentifier
A
EJBClientContextIdentifier which identifies a EJBClientContext by a name |
Modifier and Type | Method and Description |
---|---|
static EJBClientContextIdentifier |
EJBClient.getEJBClientContextIdentifierFor(Object proxy)
Get the
EJBClientContextIdentifier associated with the passed EJB proxy. |
Modifier and Type | Method and Description |
---|---|
static <T> T |
EJBClient.createProxy(EJBLocator<T> locator,
EJBClientContextIdentifier identifier)
Creates a new proxy for the remote object identified by the given
locator and
associates that proxy with the passed identifier |
static <T> StatefulEJBLocator<T> |
EJBClient.createSession(EJBClientContextIdentifier ejbClientContextIdentifier,
Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName)
Create a new EJB session.
|
IllegalStateException |
Logs.ejbClientContextAlreadyRegisteredForIdentifier(EJBClientContextIdentifier identifier) |
EJBClientContext |
IdentityEJBClientContextSelector.getContext(EJBClientContextIdentifier identifier)
Returns a context for the passed
identifier . |
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 EJBClientContext |
EJBClientContext.require(EJBClientContextIdentifier ejbClientContextIdentifier)
Returns a
EJBClientContext which is identified by the passed ejbClientContextIdentifier . |
EJBClientContext |
IdentityEJBClientContextSelector.unRegisterContext(EJBClientContextIdentifier identifier)
Unregisters and returns a previously registered
EJBClientContext , for the passed identifier . |
Modifier and Type | Method and Description |
---|---|
EJBClientContext |
ConfigBasedEJBClientContextSelector.getContext(EJBClientContextIdentifier identifier) |
void |
ConfigBasedEJBClientContextSelector.registerContext(EJBClientContextIdentifier identifier,
EJBClientContext context) |
EJBClientContext |
ConfigBasedEJBClientContextSelector.unRegisterContext(EJBClientContextIdentifier identifier) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.