org.jboss.test.idgen.ejb
Class IdCounterBeanCMP

java.lang.Object
  extended byorg.jboss.test.util.ejb.EnterpriseSupport (src) 
      extended byorg.jboss.test.util.ejb.EntitySupport (src) 
          extended byorg.jboss.test.idgen.ejb.IdCounterBean (src) 
              extended byorg.jboss.test.idgen.ejb.IdCounterBeanCMP
All Implemented Interfaces:
EnterpriseBean (src) , EntityBean (src) , java.io.Serializable

public class IdCounterBeanCMP
extends IdCounterBean (src)

See Also:
Serialized Form

Field Summary
 long currentValue
           
 java.lang.String name
           
 
Fields inherited from class org.jboss.test.util.ejb.EntitySupport (src)
entityCtx
 
Constructor Summary
IdCounterBeanCMP()
           
 
Method Summary
 java.lang.String ejbCreate(java.lang.String name)
           
 void ejbPostCreate(java.lang.String name)
           
 long getCurrentValue()
           
 java.lang.String getName()
           
 void setCurrentValue(long current)
           
 void setName(java.lang.String beanName)
           
 
Methods inherited from class org.jboss.test.idgen.ejb.IdCounterBean (src)
ejbLoad, getNextValue, setEntityContext
 
Methods inherited from class org.jboss.test.util.ejb.EntitySupport (src)
ejbActivate, ejbPassivate, ejbRemove, ejbStore, unsetEntityContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

currentValue

public long currentValue
Constructor Detail

IdCounterBeanCMP

public IdCounterBeanCMP()
Method Detail

getCurrentValue

public long getCurrentValue()
Specified by:
getCurrentValue in class IdCounterBean (src)

setCurrentValue

public void setCurrentValue(long current)
Specified by:
setCurrentValue in class IdCounterBean (src)

getName

public java.lang.String getName()
Specified by:
getName in class IdCounterBean (src)

setName

public void setName(java.lang.String beanName)
Specified by:
setName in class IdCounterBean (src)

ejbCreate

public java.lang.String ejbCreate(java.lang.String name)
                           throws java.rmi.RemoteException,
                                  CreateException (src) 
Throws:
java.rmi.RemoteException
CreateException (src)

ejbPostCreate

public void ejbPostCreate(java.lang.String name)
                   throws java.rmi.RemoteException,
                          CreateException (src) 
Throws:
java.rmi.RemoteException
CreateException (src)