SessionContext
Der SessionContext ist eine Spezialisierung des EJBContext innerhalb eines Session Beans (siehe Session Bean).
Er hat die folgenden zusätzlichen Methoden:
<T> T getBusinessObject(Class<T> businessInterface)
-- Obtain an object that can be used to invoke the current bean through the given business interface.
EJBLocalObject getEJBLocalObject()
-- Obtain a reference to the EJB local object that is associated with the instance.
EJBObject getEJBObject()
-- Obtain a reference to the EJB object that is currently associated with the instance.
Class getInvokedBusinessInterface()
-- Obtain the business interface through which the current business method invocation was made.
MessageContext getMessageContext()
-- Obtain a reference to the JAX-RPC MessageContext.
Er hat die folgenden zusätzlichen Methoden:
<T> T getBusinessObject(Class<T> businessInterface)
-- Obtain an object that can be used to invoke the current bean through the given business interface.
EJBLocalObject getEJBLocalObject()
-- Obtain a reference to the EJB local object that is associated with the instance.
EJBObject getEJBObject()
-- Obtain a reference to the EJB object that is currently associated with the instance.
Class getInvokedBusinessInterface()
-- Obtain the business interface through which the current business method invocation was made.
MessageContext getMessageContext()
-- Obtain a reference to the JAX-RPC MessageContext.