org.jboss.ejb3.session
Class SessionContextDelegateBase<J extends SessionSpecContainer>

java.lang.Object
  extended by org.jboss.ejb3.EJBContextImpl<J,SessionBeanContext<J>>
      extended by org.jboss.ejb3.session.SessionContextDelegateBase<J>
All Implemented Interfaces:
javax.ejb.EJBContext, javax.ejb.SessionContext
Direct Known Subclasses:
StatefulSessionContextDelegate, StatelessSessionContextImpl

public abstract class SessionContextDelegateBase<J extends SessionSpecContainer>
extends EJBContextImpl<J,SessionBeanContext<J>>
implements javax.ejb.SessionContext

Comment

Version:
$Revision: 76876 $
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.jboss.ejb3.EJBContextImpl
beanContext, container, ejbContextHelper, rm
 
Constructor Summary
SessionContextDelegateBase(SessionBeanContext<J> beanContext)
           
 
Method Summary
<T> T
getBusinessObject(Class<T> businessInterface)
           
abstract  javax.ejb.EJBLocalObject getEJBLocalObject()
           
abstract  javax.ejb.EJBObject getEJBObject()
           
 Class<?> getInvokedBusinessInterface()
           
 javax.xml.rpc.handler.MessageContext getMessageContext()
           
 
Methods inherited from class org.jboss.ejb3.EJBContextImpl
getCallerIdentity, getCallerPrincipal, getContainer, getEJBHome, getEJBLocalHome, getEnvironment, getRm, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Constructor Detail

SessionContextDelegateBase

public SessionContextDelegateBase(SessionBeanContext<J> beanContext)
Method Detail

getEJBLocalObject

public abstract javax.ejb.EJBLocalObject getEJBLocalObject()
                                                    throws IllegalStateException
Specified by:
getEJBLocalObject in interface javax.ejb.SessionContext
Throws:
IllegalStateException

getEJBObject

public abstract javax.ejb.EJBObject getEJBObject()
                                          throws IllegalStateException
Specified by:
getEJBObject in interface javax.ejb.SessionContext
Throws:
IllegalStateException

getBusinessObject

public <T> T getBusinessObject(Class<T> businessInterface)
                    throws IllegalStateException
Specified by:
getBusinessObject in interface javax.ejb.SessionContext
Throws:
IllegalStateException

getInvokedBusinessInterface

public Class<?> getInvokedBusinessInterface()
                                     throws IllegalStateException
Specified by:
getInvokedBusinessInterface in interface javax.ejb.SessionContext
Throws:
IllegalStateException

getMessageContext

public javax.xml.rpc.handler.MessageContext getMessageContext()
                                                       throws IllegalStateException
Specified by:
getMessageContext in interface javax.ejb.SessionContext
Throws:
IllegalStateException


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.