com.retek.rsm.app.common.service
Class AbstractRsmServiceEjb

java.lang.Object
  |
  +--com.retek.rsm.app.common.service.AbstractRsmServiceEjb
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, com.retek.platform.service.Service, javax.ejb.SessionBean
Direct Known Subclasses:
SecurityAdminServiceEjb, SecurityDataAdminServiceEjb, SecurityServiceEjb

public abstract class AbstractRsmServiceEjb
extends java.lang.Object
implements javax.ejb.SessionBean, com.retek.platform.service.Service

See Also:
Serialized Form

Field Summary
protected  org.apache.commons.logging.Log LOG
           
 
Fields inherited from interface com.retek.platform.service.Service
serialVersionUID
 
Constructor Summary
AbstractRsmServiceEjb()
           
 
Method Summary
 void attachFallbackHandler(com.retek.platform.service.FallbackHandler newFallbackHandler)
           
protected  void deleteReferences(com.retek.platform.service.ClientContext context, java.util.Set references)
           
protected  void destroyServiceContext()
           
protected  void discardServiceContext()
           
 void ejbActivate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
protected  CommandFactory getFactory(com.retek.platform.service.ClientContext context)
           
 javax.ejb.EJBLocalObject getLocal()
           
 javax.ejb.EJBLocalHome getLocalHome()
           
protected  com.retek.platform.bo.IdentifiableReference getNextReference(com.retek.platform.service.ClientContext context, java.lang.Class businessInterface)
           
 javax.ejb.EJBObject getRemote()
           
 javax.ejb.EJBHome getRemoteHome()
           
protected  javax.ejb.SessionContext getSessionContext()
          Returns the session context.
protected  void initServiceContext()
           
 void setSessionContext(javax.ejb.SessionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected final org.apache.commons.logging.Log LOG
Constructor Detail

AbstractRsmServiceEjb

public AbstractRsmServiceEjb()
Method Detail

getRemote

public javax.ejb.EJBObject getRemote()

getLocal

public javax.ejb.EJBLocalObject getLocal()

getLocalHome

public javax.ejb.EJBLocalHome getLocalHome()

getRemoteHome

public javax.ejb.EJBHome getRemoteHome()

getSessionContext

protected javax.ejb.SessionContext getSessionContext()
Returns the session context.

Returns:
SessionContext the session context

setSessionContext

public void setSessionContext(javax.ejb.SessionContext context)
                       throws javax.ejb.EJBException,
                              java.rmi.RemoteException
Specified by:
setSessionContext in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      java.rmi.RemoteException
Specified by:
ejbRemove in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException
Specified by:
ejbActivate in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException
Specified by:
ejbPassivate in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException

initServiceContext

protected void initServiceContext()

destroyServiceContext

protected void destroyServiceContext()

discardServiceContext

protected void discardServiceContext()

getFactory

protected CommandFactory getFactory(com.retek.platform.service.ClientContext context)

getNextReference

protected com.retek.platform.bo.IdentifiableReference getNextReference(com.retek.platform.service.ClientContext context,
                                                                       java.lang.Class businessInterface)
                                                                throws com.retek.platform.exception.RetekBusinessException
com.retek.platform.exception.RetekBusinessException

deleteReferences

protected void deleteReferences(com.retek.platform.service.ClientContext context,
                                java.util.Set references)
                         throws com.retek.platform.exception.RetekBusinessException
com.retek.platform.exception.RetekBusinessException

attachFallbackHandler

public void attachFallbackHandler(com.retek.platform.service.FallbackHandler newFallbackHandler)
Specified by:
attachFallbackHandler in interface com.retek.platform.service.Service