| Modifier and Type | Method and Description |
|---|---|
| public < a T object. T> T | Returns: The business object corresponding to the given business interface or no-interface view.One of the local business interfaces or remote business interfaces for this session bean. In
addition, the bean class type can be used to acquire a reference to the bean's no-interface view. businessInterface)Obtain an object that can be used to invoke the current bean through a particular business interface view or its no-interface view. |
| public EJBLocalObject | Returns: The enterprise bean local object currently associated with the instance.Obtain a reference to the enterprise bean local object that is associated with the instance. |
| public EJBObject | Returns: The enterprise bean object currently associated with the instance.Obtain a reference to the enterprise bean object that is currently associated with the instance. |
| public Class | Returns: ajava.lang.Class object.Obtain the business interface or no-interface view type through which the current business method invocation was made. |
| public boolean | Returns: true if the client has invokedFuture.cancel with a value of true for the
mayInterruptIfRunning parameter.Check whether a client invoked the |
| getBusinessObject | back to summary |
|---|---|
| public <T> T getBusinessObject(Class<T> businessInterface) throws IllegalStateException Obtain an object that can be used to invoke the current bean through a particular business interface view or its no-interface view.
| |
| getEJBLocalObject | back to summary |
|---|---|
| public EJBLocalObject getEJBLocalObject() throws IllegalStateException Obtain a reference to the enterprise bean local object that is associated with the instance.
An instance of a session bean can call this method at anytime between the An instance can use this method, for example, when it wants to pass a reference to itself in a method argument or result.
| |
| getEJBObject | back to summary |
|---|---|
| public EJBObject getEJBObject() throws IllegalStateException Obtain a reference to the enterprise bean object that is currently associated with the instance.
An instance of a session enterprise Bean can call this method at anytime between the An instance can use this method, for example, when it wants to pass a reference to itself in a method argument or result.
| |
| getInvokedBusinessInterface | back to summary |
|---|---|
| public Class Obtain the business interface or no-interface view type through which the current business method invocation was made.
| |
| wasCancelCalled | back to summary |
|---|---|
| public boolean wasCancelCalled() throws IllegalStateException Check whether a client invoked the
| |