com.stellent.cis.client.command.ejb.configuration
Class CommandConfigurationBean
java.lang.Object
org.springframework.ejb.support.AbstractStatelessSessionBean
com.stellent.cis.client.command.ejb.CommandStatelessSessionBean
com.stellent.cis.client.command.ejb.configuration.CommandConfigurationBean
- All Implemented Interfaces:
- ICommandConfigurationService, java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean
public class CommandConfigurationBean
- extends CommandStatelessSessionBean
- implements ICommandConfigurationService
- See Also:
- Serialized Form
Fields inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean |
logger |
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean |
ejbActivate, ejbPassivate |
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 |
m_log
protected org.apache.commons.logging.Log m_log
m_configurationService
protected ICommandConfigurationService m_configurationService
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final java.lang.String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
CommandConfigurationBean
public CommandConfigurationBean()
getConfigurationService
public ICommandConfigurationService getConfigurationService()
- Returns:
- the current implementation of the command configuration service
onEjbCreate
protected void onEjbCreate()
throws javax.ejb.CreateException
- Subclasses must implement this method to do any initialization
they would otherwise have done in an ejbCreate() method. In contrast
to ejbCreate, the BeanFactory will have been loaded here.
The same restrictions apply to the work of this method as
to an ejbCreate() method.
- Specified by:
onEjbCreate
in class org.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
executeClientHandshake
public ICommandClientHandshake executeClientHandshake()
throws CommandException
- Execute the client handshake sequence with the command server
- Specified by:
executeClientHandshake
in interface ICommandConfigurationService
- Returns:
- the command client configuration object from the remote CIS server
- Throws:
CommandException
getLog
protected org.apache.commons.logging.Log getLog()
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()