Skip navigation links

Oracle® Fusion Middleware Content Integration Suite (CIS) Java API Reference
11g Release 1 (11.1)

E17350-01


com.stellent.cis.client.command.ejb
Class CommandStatelessSessionBean

java.lang.Object
  extended by org.springframework.ejb.support.AbstractStatelessSessionBean
      extended by com.stellent.cis.client.command.ejb.CommandStatelessSessionBean

All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean
Direct Known Subclasses:
CommandConfigurationBean, CommandInvokerBean

public abstract class CommandStatelessSessionBean
extends org.springframework.ejb.support.AbstractStatelessSessionBean
implements javax.ejb.SessionBean
See Also:
Serialized Form

Field Summary
static java.lang.String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
           

 

Fields inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
logger

 

Constructor Summary
CommandStatelessSessionBean()
           

 

Method Summary
 void ejbCreate()
          This implementation loads the BeanFactory.
 void ejbRemove()
           
protected  org.springframework.beans.factory.BeanFactory getBeanFactory()
           
protected  javax.ejb.SessionContext getSessionContext()
           
protected  void onEjbRemove()
           
 void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
           
 void setBeanFactoryLocatorKey(java.lang.String arg0)
           
 void setSessionContext(javax.ejb.SessionContext arg0)
           

 

Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate, onEjbCreate

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface javax.ejb.SessionBean
ejbActivate, ejbPassivate, ejbRemove, setSessionContext

 

Field Detail

BEAN_FACTORY_PATH_ENVIRONMENT_KEY

public static final java.lang.String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
See Also:
Constant Field Values

Constructor Detail

CommandStatelessSessionBean

public CommandStatelessSessionBean()

Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
This implementation loads the BeanFactory. A BeansException thrown by loadBeanFactory will simply get propagated, as it is a runtime exception.

Don't override it (although it can't be made final): code your own initialization in onEjbCreate(), which is called when the BeanFactory is available.

Unfortunately we can't load the BeanFactory in setSessionContext(), as resource manager access isn't permitted there - but the BeanFactory may require it.

Overrides:
ejbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
Throws:
javax.ejb.CreateException

setSessionContext

public void setSessionContext(javax.ejb.SessionContext arg0)
Specified by:
setSessionContext in interface javax.ejb.SessionBean

getSessionContext

protected final javax.ejb.SessionContext getSessionContext()

setBeanFactoryLocator

public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)

setBeanFactoryLocatorKey

public void setBeanFactoryLocatorKey(java.lang.String arg0)

getBeanFactory

protected org.springframework.beans.factory.BeanFactory getBeanFactory()

ejbRemove

public void ejbRemove()

onEjbRemove

protected void onEjbRemove()

Skip navigation links

Oracle® Fusion Middleware Content Integration Suite (CIS) Java API Reference
11g Release 1 (11.1)

E17350-01


Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved.