org.jboss.ejb3.service
Class ServiceSessionContextImpl

java.lang.Object
  extended by org.jboss.ejb3.EJBContextImpl<ServiceContainer,ServiceBeanContext>
      extended by org.jboss.ejb3.service.ServiceSessionContextImpl
All Implemented Interfaces:
javax.ejb.EJBContext, javax.ejb.SessionContext

public class ServiceSessionContextImpl
extends EJBContextImpl<ServiceContainer,ServiceBeanContext>
implements javax.ejb.SessionContext

Version:
$Revision: $
Author:
Carlo de Wolf

Field Summary
 
Fields inherited from class org.jboss.ejb3.EJBContextImpl
beanContext, container, ejbContextHelper, rm
 
Constructor Summary
protected ServiceSessionContextImpl(ServiceBeanContext beanContext)
           
 
Method Summary
<T> T
getBusinessObject(Class<T> businessInterface)
           
 javax.ejb.EJBLocalObject getEJBLocalObject()
           
 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

ServiceSessionContextImpl

protected ServiceSessionContextImpl(ServiceBeanContext beanContext)
Parameters:
beanContext -
Method Detail

getBusinessObject

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

getEJBLocalObject

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

getEJBObject

public javax.ejb.EJBObject getEJBObject()
                                 throws IllegalStateException
Specified by:
getEJBObject 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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.