org.objectweb.jorm.facility.naming.generator
Class LongGenMgrRegistry

java.lang.Object
  extended byorg.objectweb.jorm.facility.naming.generator.LongGenMgrRegistry

public class LongGenMgrRegistry
extends java.lang.Object

Statically registers LongGenMgr associated with mappers within a JVM context.

Author:
P. Dechamboux

Constructor Summary
LongGenMgrRegistry()
           
 
Method Summary
static void deregisterLonGenMgr(LongGenMgr lgm)
          Removes this LongGenMgr from this registry.
static LongGenMgr getLongGenMgr(PMapper m)
          Looks for a LonGenMgr associated with this mapper.
static void registerLonGenMgr(LongGenMgr lgm)
          Adds this LongGenMgr from this registry.
static void registerLonGenMgr(LongGenMgr lgm, PMapper mapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongGenMgrRegistry

public LongGenMgrRegistry()
Method Detail

deregisterLonGenMgr

public static void deregisterLonGenMgr(LongGenMgr lgm)
Removes this LongGenMgr from this registry.


getLongGenMgr

public static LongGenMgr getLongGenMgr(PMapper m)
Looks for a LonGenMgr associated with this mapper.


registerLonGenMgr

public static void registerLonGenMgr(LongGenMgr lgm)
                              throws PException
Adds this LongGenMgr from this registry.

Throws:
PException

registerLonGenMgr

public static void registerLonGenMgr(LongGenMgr lgm,
                                     PMapper mapper)