org.jboss.varia.autonumber
Class AutoNumberEJB2

java.lang.Object
  extended by org.jboss.varia.autonumber.AutoNumberEJB2
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

public abstract class AutoNumberEJB2
extends Object
implements javax.ejb.EntityBean

The CMP 2 compatible version of AutoNumberEJB.

Version:
$Revision: 1.6.6.1 $
Author:
Michel de Groot, Ignacio Coloma
See Also:
Serialized Form

Constructor Summary
AutoNumberEJB2()
           
 
Method Summary
 void ejbActivate()
           
 String ejbCreate(String name)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(String name)
           
 void ejbRemove()
           
 void ejbStore()
           
abstract  String getName()
           
abstract  Integer getValue()
           
 void setEntityContext(javax.ejb.EntityContext unused)
           
abstract  void setName(String name)
           
abstract  void setValue(Integer value)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoNumberEJB2

public AutoNumberEJB2()
Method Detail

getValue

public abstract Integer getValue()

setValue

public abstract void setValue(Integer value)

getName

public abstract String getName()

setName

public abstract void setName(String name)

ejbCreate

public String ejbCreate(String name)
                 throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(String name)

ejbActivate

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

ejbPassivate

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

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface javax.ejb.EntityBean

ejbRemove

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

setEntityContext

public void setEntityContext(javax.ejb.EntityContext unused)
Specified by:
setEntityContext in interface javax.ejb.EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.