com.opensymphony.module.sequence
Class SequenceEJB
java.lang.Object
com.opensymphony.module.sequence.SequenceEJB
- All Implemented Interfaces:
- Serializable, EnterpriseBean, EntityBean
- Direct Known Subclasses:
- SequenceCMP
public abstract class SequenceEJB - extends Object
- implements EntityBean
Sequence Entity EJB implementation.
- Version:
- $Revision: 127 $
- 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(EntityContext context)
- Specified by:
setEntityContext in interface EntityBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate in interface EntityBean
ejbCreate
public String ejbCreate(String name)
throws CreateException
- Throws:
CreateException
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad in interface EntityBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate in interface EntityBean
ejbPostCreate
public void ejbPostCreate(String name)
throws CreateException
- Throws:
CreateException
ejbRemove
public void ejbRemove()
throws RemoveException
- Specified by:
ejbRemove in interface EntityBean
- Throws:
RemoveException
ejbStore
public void ejbStore()
- Specified by:
ejbStore in interface EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext in interface EntityBean
|