com.opensymphony.module.sequence
Class SequenceEJB
java.lang.Object
com.opensymphony.module.sequence.SequenceEJB
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, Serializable
- Direct Known Subclasses:
- SequenceCMP
- public abstract class SequenceEJB
- extends Object
- implements javax.ejb.EntityBean
Sequence Entity EJB implementation.
- Version:
- $Revision: 1.2 $
- Author:
- Joe Walnes, Hani Suleiman
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceEJB
public SequenceEJB()
setActualCount
public abstract void setActualCount(long count)
getActualCount
public abstract long getActualCount()
setName
public abstract void setName(String name)
getName
public abstract String getName()
getCount
public long getCount(int increment)
setEntityContext
public void setEntityContext(javax.ejb.EntityContext context)
- Specified by:
setEntityContext
in interface javax.ejb.EntityBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.EntityBean
ejbCreate
public String ejbCreate(String name)
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad
in interface javax.ejb.EntityBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.EntityBean
ejbPostCreate
public void ejbPostCreate(String name)
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
ejbRemove
public void ejbRemove()
throws javax.ejb.RemoveException
- Specified by:
ejbRemove
in interface javax.ejb.EntityBean
- Throws:
javax.ejb.RemoveException
ejbStore
public void ejbStore()
- Specified by:
ejbStore
in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext
in interface javax.ejb.EntityBean