|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdentityEJBClientContextSelector
A ContextSelector which can select EJB client contexts based on a EJBClientContextIdentifier.
| Method Summary | |
|---|---|
EJBClientContext |
getContext(EJBClientContextIdentifier identifier)
Returns a context for the passed identifier. |
void |
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 |
EJBClientContext |
unRegisterContext(EJBClientContextIdentifier identifier)
Unregisters and returns a previously registered EJBClientContext, for the passed identifier. |
| Methods inherited from interface org.jboss.ejb.client.ContextSelector |
|---|
getCurrent |
| Method Detail |
|---|
void registerContext(EJBClientContextIdentifier identifier,
EJBClientContext context)
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
identifier - The EJB client context identifiercontext - The EJB client contextEJBClientContext unRegisterContext(EJBClientContextIdentifier identifier)
EJBClientContext, for the passed identifier.
If no EJBClientContext was registered for the passed identifier, then this method returns null.
identifier - The EJB client context identifier
EJBClientContext if any. Else returns null.EJBClientContext getContext(EJBClientContextIdentifier identifier)
identifier. If there's no such context, then null is returned.
identifier - Identity of the context. Cannot be null
IllegalArgumentException - If the passed identifier is null.
|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||