Deprecated EJB 2.x implementation class hierarchy in "ejb.support" package
This commit is contained in:
@@ -51,7 +51,9 @@ import org.springframework.util.WeakReferenceMonitor;
|
||||
* @author Juergen Hoeller
|
||||
* @see org.springframework.context.access.ContextJndiBeanFactoryLocator
|
||||
* @see org.springframework.context.access.ContextSingletonBeanFactoryLocator
|
||||
* @deprecated as of Spring 3.2, in favor of implementing EJBs in EJB 3 style
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractEnterpriseBean implements EnterpriseBean {
|
||||
|
||||
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY = "java:comp/env/ejb/BeanFactoryPath";
|
||||
|
||||
@@ -23,7 +23,9 @@ import javax.jms.MessageListener;
|
||||
* to implement the JMS <code>javax.jms.MessageListener</code> interface.
|
||||
*
|
||||
* @author Rod Johnson
|
||||
* @deprecated as of Spring 3.2, in favor of implementing EJBs in EJB 3 style
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractJmsMessageDrivenBean extends AbstractMessageDrivenBean implements MessageListener {
|
||||
|
||||
// Empty: The purpose of this class is to ensure
|
||||
|
||||
@@ -40,7 +40,9 @@ import org.apache.commons.logging.LogFactory;
|
||||
* <code>ejbCreate()</code> methods.
|
||||
*
|
||||
* @author Rod Johnson
|
||||
* @deprecated as of Spring 3.2, in favor of implementing EJBs in EJB 3 style
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractMessageDrivenBean extends AbstractEnterpriseBean
|
||||
implements MessageDrivenBean {
|
||||
|
||||
|
||||
@@ -28,7 +28,9 @@ import javax.ejb.SessionContext;
|
||||
*
|
||||
* @author Rod Johnson
|
||||
* @author Juergen Hoeller
|
||||
* @deprecated as of Spring 3.2, in favor of implementing EJBs in EJB 3 style
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractSessionBean extends AbstractEnterpriseBean implements SmartSessionBean {
|
||||
|
||||
/** The SessionContext passed to this EJB */
|
||||
|
||||
@@ -41,7 +41,9 @@ import org.springframework.beans.FatalBeanException;
|
||||
* @author Rod Johnson
|
||||
* @author Colin Sampaleanu
|
||||
* @see org.springframework.context.access.ContextJndiBeanFactoryLocator
|
||||
* @deprecated as of Spring 3.2, in favor of implementing EJBs in EJB 3 style
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractStatefulSessionBean extends AbstractSessionBean {
|
||||
|
||||
/**
|
||||
|
||||
@@ -45,7 +45,9 @@ import org.apache.commons.logging.LogFactory;
|
||||
* a common cause of EJB deployment failure.
|
||||
*
|
||||
* @author Rod Johnson
|
||||
* @deprecated as of Spring 3.2, in favor of implementing EJBs in EJB 3 style
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractStatelessSessionBean extends AbstractSessionBean {
|
||||
|
||||
/** Logger available to subclasses */
|
||||
|
||||
@@ -31,7 +31,9 @@ import javax.ejb.SessionContext;
|
||||
* @since 1.2
|
||||
* @see AbstractStatelessSessionBean
|
||||
* @see AbstractStatefulSessionBean
|
||||
* @deprecated as of Spring 3.2, in favor of implementing EJBs in EJB 3 style
|
||||
*/
|
||||
@Deprecated
|
||||
public interface SmartSessionBean extends SessionBean {
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
*
|
||||
* <p>Base classes to make implementing EJB 2.x beans simpler and less error-prone,
|
||||
* as well as guaranteeing a Spring BeanFactory is available to such EJBs.
|
||||
* This promotes good practice, with EJB services used for transaction
|
||||
* This promotes good EJB practice, with EJB services used for transaction
|
||||
* management, thread management, and (possibly) remoting, while
|
||||
* business logic is implemented in easily testable POJOs.</p>
|
||||
*
|
||||
* <p>In this model, the EJB is a facade, with as many POJO helpers
|
||||
* behind the BeanFactory as required.</p>
|
||||
*
|
||||
* <p>Note that the default behavior is to look for an EJB enviroment variable
|
||||
* <p>Note that the default behavior is to look for an EJB environment variable
|
||||
* with name <code>ejb/BeanFactoryPath</code> that specifies the
|
||||
* location <i>on the classpath</i> of an XML bean factory definition
|
||||
* file (such as <code>/com/mycom/mypackage/mybeans.xml</code>).
|
||||
|
||||
Reference in New Issue
Block a user