org.jboss.test.jbossnet.state.server
Class StateBean

java.lang.Object
  extended byorg.jboss.test.util.ejb.EnterpriseSupport (src) 
      extended byorg.jboss.test.util.ejb.SessionSupport (src) 
          extended byorg.jboss.test.jbossnet.state.server.StateBean
All Implemented Interfaces:
EnterpriseBean (src) , java.io.Serializable, SessionBean (src)

public class StateBean
extends SessionSupport (src)
implements SessionBean (src)

Stateful web service to test default message scoping for stateful beans.

See Also:
Serialized Form

Field Summary
protected  int count
           
 
Fields inherited from class org.jboss.test.util.ejb.SessionSupport (src)
log, sessionCtx
 
Constructor Summary
StateBean()
           
 
Method Summary
 int count()
           
 void ejbCreate()
          restore count upon pooling
 
Methods inherited from class org.jboss.test.util.ejb.SessionSupport (src)
ejbActivate, ejbPassivate, ejbRemove, setSessionContext
 
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 (src)
ejbActivate, ejbPassivate, ejbRemove, setSessionContext
 

Field Detail

count

protected int count
Constructor Detail

StateBean

public StateBean()
Method Detail

ejbCreate

public void ejbCreate()
restore count upon pooling

Overrides:
ejbCreate in class SessionSupport (src)

count

public int count()