|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cuba.AbstractComponentContext cuba.ejb.AbstractEJBComponentContext cuba.ejb.EJB2ComponentContext
public class EJB2ComponentContext
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface cuba.ContextI |
---|
ContextI.Type |
Field Summary |
---|
Fields inherited from class cuba.ejb.AbstractEJBComponentContext |
---|
context |
Constructor Summary | |
---|---|
EJB2ComponentContext(javax.ejb.SessionContext context)
|
Method Summary | |
---|---|
ClientContextI |
getClientContext()
Create a client context from a component context which provides external access to the same container which the current component resides in. |
java.lang.Object |
getComponent(java.lang.String name)
Looks up a component refered to by a symbolic name. |
Methods inherited from class cuba.ejb.AbstractEJBComponentContext |
---|
getCallerName, getDataSource, getEnvironment, getLocalContext, getRollbackOnly, getTransaction, getType, isCallerInRole, popCall, pushCall, setRollbackOnly |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EJB2ComponentContext(javax.ejb.SessionContext context)
Method Detail |
---|
public ClientContextI getClientContext()
ComponentContextI
public java.lang.Object getComponent(java.lang.String name) throws ConstructionException, ReferenceException
ContextI
getComponent
in interface ContextI
getComponent
in class AbstractEJBComponentContext
name
- The symbolic name of the component to look up
ConstructionException
- if the container failed to provide
the required component
ReferenceException
- if the provided symbolic name cannot
be resolved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |