org.objectweb.jorm.facility.naming.generator
Interface LongGenMgr
- All Known Implementing Classes:
- LongGenIncrMgr
- public interface LongGenMgr
Provides a means to allocates long identifiers generators.
- Author:
- P. D?chamboux
|
Method Summary |
LongGen |
getLongGen(java.lang.String lgname)
Retrieves a long generator with the given name. |
PMapper |
getPMapper()
Retrieves the mapper associated with this LongGenMgr. |
void |
init(PMapper pm,
byte clact)
Initializes a long generator manager by mapping relevant classes
to the given mapper, and setting up relevant initial persistent
information. |
getPMapper
public PMapper getPMapper()
- Retrieves the mapper associated with this LongGenMgr.
init
public void init(PMapper pm,
byte clact)
throws PException
- Initializes a long generator manager by mapping relevant classes
to the given mapper, and setting up relevant initial persistent
information.
getLongGen
public LongGen getLongGen(java.lang.String lgname)
throws PException
- Retrieves a long generator with the given name. If it does not
exist, creates it.