| java.lang.Object org.objectweb.jonas.jtests.beans.sequence.SequenceEC2
SequenceEC2 | abstract public class SequenceEC2 implements EntityBean(Code) | | SequenceEC2 controls the sequence block requests.
|
Field Summary | |
protected EntityContext | entCtx |
entCtx | protected EntityContext entCtx(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | Method ejbActivate
|
ejbLoad | public void ejbLoad()(Code) | | Method ejbLoad
|
ejbPassivate | public void ejbPassivate()(Code) | | Method ejbPassivate
|
ejbPostCreate | public void ejbPostCreate(String id, int firstNumber)(Code) | | Method ejbPostCreate
Parameters: id - Sequence identifier Parameters: firstNumber - First number |
ejbRemove | public void ejbRemove() throws RemoveException(Code) | | Method ejbRemove
throws: RemoveException - Remove error |
ejbStore | public void ejbStore()(Code) | | Method ejbStore
|
getId | abstract public String getId()(Code) | | Method getId
The sequence identifier |
getNextNumber | abstract public int getNextNumber()(Code) | | Method getNextNumber gets the next number
The next sequence number. |
getUniqPk | public int getUniqPk()(Code) | | Get a unique PK number, and increment the count for next call.
|
setEntityContext | public void setEntityContext(EntityContext entCtx)(Code) | | Method setEntityContext
Parameters: entCtx - The context of this entity bean. |
setId | abstract public void setId(String id)(Code) | | Method setId
Parameters: The - sequence identifier |
setNextNumber | abstract public void setNextNumber(int nextNumber)(Code) | | Method setNextNumber gets the next number
Parameters: The - next sequence number. |
unsetEntityContext | public void unsetEntityContext()(Code) | | Method unsetEntityContext
|
|
|