|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb3.nointerface.impl.jndi.NoInterfaceViewJNDIBinderFacade
public class NoInterfaceViewJNDIBinderFacade
NoInterfaceViewJNDIBinderFacade
A NoInterfaceViewJNDIBinderFacade corresponds to a EJB which is eligible
for a no-interface view
This MC bean has dependencies (like the container) injected as necessary.
During its START phase this NoInterfaceViewJNDIBinder creates a no-interface view
and binds it to the jndi.
| Field Summary | |
|---|---|
protected org.jboss.kernel.spi.dependency.KernelControllerContext |
endpointContext
The endpoint for which this NoInterfaceViewJNDIBinderFacade holds
an no-interface view |
| Constructor Summary | |
|---|---|
NoInterfaceViewJNDIBinderFacade(Context ctx,
Class<?> beanClass,
org.jboss.metadata.ejb.jboss.JBossSessionBean31MetaData sessionBeanMetadata)
Constructor |
|
| Method Summary | |
|---|---|
void |
onStart()
Will be called when the dependencies of this NoInterfaceViewJNDIBinderFacade are
resolved and this MC bean reaches the START state. |
void |
onStop()
Does any relevant cleanup |
void |
setEndpointContext(org.jboss.kernel.spi.dependency.KernelControllerContext endpointContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.jboss.kernel.spi.dependency.KernelControllerContext endpointContext
NoInterfaceViewJNDIBinderFacade holds
an no-interface view
| Constructor Detail |
|---|
public NoInterfaceViewJNDIBinderFacade(Context ctx,
Class<?> beanClass,
org.jboss.metadata.ejb.jboss.JBossSessionBean31MetaData sessionBeanMetadata)
beanClass - sessionBeanMetadata - | Method Detail |
|---|
public void onStart()
throws Exception
NoInterfaceViewJNDIBinderFacade are
resolved and this MC bean reaches the START state.
At this point, the endpointContext associated with this NoInterfaceViewJNDIBinderFacade
is injected and is at a minimal of DESCRIBED state. We now create a no-interface view
for the corresponding bean.
Note: No validations (like whether the bean is eligible for no-interface view) is done at this
stage. It's assumed that the presence of a NoInterfaceViewJNDIBinderFacade indicates that the
corresponding bean is eligible for no-interface view.
Exception
public void onStop()
throws Exception
Exception
public void setEndpointContext(org.jboss.kernel.spi.dependency.KernelControllerContext endpointContext)
throws Exception
endpointContext - The KernelControllerContext corresponding to the endpoint
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||