com.opensymphony.module.sequence
Class SequenceEJB

java.lang.Object
  extended bycom.opensymphony.module.sequence.SequenceEJB
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
Direct Known Subclasses:
SequenceCMP

public abstract class SequenceEJB
extends java.lang.Object
implements javax.ejb.EntityBean

Sequence Entity EJB implementation.

Version:
$Revision: 1.1.1.1 $
Author:
Joe Walnes, Hani Suleiman
See Also:
Serialized Form

Constructor Summary
SequenceEJB()
           
 
Method Summary
 void ejbActivate()
           
 java.lang.String ejbCreate(java.lang.String name)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.String name)
           
 void ejbRemove()
           
 void ejbStore()
           
abstract  long getActualCount()
           
 long getCount(int increment)
           
abstract  java.lang.String getName()
           
abstract  void setActualCount(long count)
           
 void setEntityContext(javax.ejb.EntityContext context)
           
abstract  void setName(java.lang.String name)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceEJB

public SequenceEJB()
Method Detail

setActualCount

public abstract void setActualCount(long count)

getActualCount

public abstract long getActualCount()

setName

public abstract void setName(java.lang.String name)

getName

public abstract java.lang.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 java.lang.String ejbCreate(java.lang.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(java.lang.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

See www.opensymphony.com for more information.