com.opensymphony.module.sequence
Class SequenceEJB

java.lang.Object
  |
  +--com.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.10 $
Author:
Joe Walnes
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

getName

public abstract java.lang.String getName()

setName

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

getActualCount

public abstract long getActualCount()

setActualCount

public abstract void setActualCount(long count)

getCount

public long getCount(int increment)

ejbCreate

public java.lang.String ejbCreate(java.lang.String name)
                           throws javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(java.lang.String name)
                   throws javax.ejb.CreateException

setEntityContext

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

unsetEntityContext

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

ejbRemove

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

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

See www.opensymphony.com for more information.