test.ejb
Class StatefulSessionBean

java.lang.Object
  extended by test.ejb.StatefulSessionBean
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, javax.ejb.SessionSynchronization

public class StatefulSessionBean
extends Object
implements javax.ejb.SessionBean, javax.ejb.SessionSynchronization

Stateful session bean - impl.

See Also:
Serialized Form

Constructor Summary
StatefulSessionBean()
           
 
Method Summary
 void afterBegin()
           
 void afterCompletion(boolean committed)
           
 void beforeCompletion()
           
 int decrement()
           
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 int increment()
           
 void setSessionContext(javax.ejb.SessionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulSessionBean

public StatefulSessionBean()
Method Detail

increment

public int increment()

decrement

public int decrement()

ejbCreate

public void ejbCreate()

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean

setSessionContext

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

afterBegin

public void afterBegin()
                throws javax.ejb.EJBException,
                       RemoteException
Specified by:
afterBegin in interface javax.ejb.SessionSynchronization
Throws:
javax.ejb.EJBException
RemoteException

beforeCompletion

public void beforeCompletion()
                      throws javax.ejb.EJBException,
                             RemoteException
Specified by:
beforeCompletion in interface javax.ejb.SessionSynchronization
Throws:
javax.ejb.EJBException
RemoteException

afterCompletion

public void afterCompletion(boolean committed)
                     throws javax.ejb.EJBException,
                            RemoteException
Specified by:
afterCompletion in interface javax.ejb.SessionSynchronization
Throws:
javax.ejb.EJBException
RemoteException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.