| org.apache.beehive.controls.system.ejb.EJBControl
All known Subclasses: org.apache.beehive.controls.system.ejb.EJBControlImpl,
EJBControl | public interface EJBControl (Code) | | Enterprise Java Bean Control base interface
|
Inner Class :public @interface EJBHome | |
Inner Class :public @interface JNDIContextEnv | |
Method Summary | |
public Object | getEJBBeanInstance() Returns the current target instance of the bean business interface
used for business interface method invocations. | public Throwable | getEJBException() Returns the last EJB exception serviced by the EJB control on the
developers behalf. | public Object | getEJBHomeInstance() Returns an instance of the home interface associated with
the target bean component. | public boolean | hasEJBBeanInstance() Returns true if the EJB control currently has a target bean instance
upon which bean business interface methods may be invoked. |
getEJBBeanInstance | public Object getEJBBeanInstance()(Code) | | Returns the current target instance of the bean business interface
used for business interface method invocations. This API is
provided for advanced use cases were direct access to the local/
remote interfaces outside of the control is required. It will
return null if no target instance is currently
selected.
|
getEJBException | public Throwable getEJBException()(Code) | | Returns the last EJB exception serviced by the EJB control on the
developers behalf. This can be used to discover or log additional
information, for example when a create or find method is unable to
locate a target bean instance.
|
getEJBHomeInstance | public Object getEJBHomeInstance()(Code) | | Returns an instance of the home interface associated with
the target bean component.
|
hasEJBBeanInstance | public boolean hasEJBBeanInstance()(Code) | | Returns true if the EJB control currently has a target bean instance
upon which bean business interface methods may be invoked. This will
be true after a successful create() or single select finder method
execution, or in cases where implicit creation or find has occurred
by the control on the control users behalf. This provides a simple
way to procedurally check the status of explicit or implicit
bean instance creation or find operations.
|
|
|