Spring Framework
org.springframework.ejb.support

Class AbstractStatefulSessionBean

    • Constructor Detail

      • AbstractStatefulSessionBean

        public AbstractStatefulSessionBean()
        Deprecated. 
    • Method Detail

      • loadBeanFactory

        protected void loadBeanFactory()
                                throws BeansException
        Deprecated. 
        Load a Spring BeanFactory namespace. Exposed for subclasses to load a BeanFactory in their ejbCreate() methods. Those callers would normally want to catch BeansException and rethrow it as CreateException. Unless the BeanFactory is known to be serializable, this method must also be called from ejbActivate(), to reload a context removed via a call to unloadBeanFactory() from the ejbPassivate() implementation.
        Throws:
        BeansException
        See Also:
        AbstractStatelessSessionBean.ejbCreate()
      • unloadBeanFactory

        protected void unloadBeanFactory()
                                  throws FatalBeanException
        Deprecated. 
        Unload the Spring BeanFactory instance. The default ejbRemove() method invokes this method, but subclasses which override ejbRemove() must invoke this method themselves.

        Unless the BeanFactory is known to be serializable, this method must also be called from ejbPassivate(), with a corresponding call to loadBeanFactory() from ejbActivate().

        Throws:
        FatalBeanException
Spring Framework