|
OpMath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The (remote) Remote interface of the UniqueIdGenerator EJB. Specifies the functionality of UniqueIdGenerator instances, avaliable to remote clients.
Copyright: (c) 2002 The Open Math Company Limited
The Terms of Distribution of this software are stipulated in the javadoc Overview for this project.
UniqueIdGeneratorBean| Method Summary | |
long |
getId()
Returns the current unique ID as issued by this UniqueIdGenerator EJB. |
UniqueIdGeneratorPK |
getKey()
Returns the primary key for this UniqueIdGenerator EJB. |
long |
nextId()
Requests that the next unique ID is generated by this UniqueIdGenerator EJB. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public UniqueIdGeneratorPK getKey()
throws RemoteException
Returns the primary key for this UniqueIdGenerator EJB.
UniqueIdGeneratorPK uniquely identifying this instance.RemoteException - if problems were encountered in communicating
with the application server or UniqueIdGenerator EJB.UniqueIdGeneratorBean.getKey()
public long getId()
throws RemoteException
Returns the current unique ID as issued by this UniqueIdGenerator EJB.
long indicating the current unique ID as issied by this
UniqueIdGenerator EJB.RemoteException - if problems were encountered in communicating
with the application server or UniqueIdGenerator EJB.UniqueIdGeneratorBean.getId()
public long nextId()
throws RemoteException
Requests that the next unique ID is generated by this UniqueIdGenerator EJB. The method returns the new unique ID.
long indicating the new current unique ID as issied by this
UniqueIdGenerator EJB.RemoteException - if problems were encountered in communicating
with the application server or UniqueIdGenerator EJB.UniqueIdGeneratorBean.nextId()
|
OpMath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||