org.objectweb.jorm.facility.naming.polymorphid
Class PolymorphIdMgrRegistry

java.lang.Object
  extended byorg.objectweb.jorm.facility.naming.polymorphid.PolymorphIdMgrRegistry

public class PolymorphIdMgrRegistry
extends java.lang.Object

Statically registers PolymorphIdMgr associated with mappers within a JVM context.

Author:
P. Dechamboux

Constructor Summary
PolymorphIdMgrRegistry()
           
 
Method Summary
static void deregisterPolymorphIdMgr(PolymorphIdMgr pim)
          Removes this PolymorphIdMgr from this registry.
static PolymorphIdMgr getPolymorphIdMgr(PMapper m)
          Looks for a PolymorphIdMgr associated with this mapper.
static void registerPolymorphIdMgr(PolymorphIdMgr pim)
          Adds this PolymorphIdMgr from this registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolymorphIdMgrRegistry

public PolymorphIdMgrRegistry()
Method Detail

deregisterPolymorphIdMgr

public static void deregisterPolymorphIdMgr(PolymorphIdMgr pim)
Removes this PolymorphIdMgr from this registry.


getPolymorphIdMgr

public static PolymorphIdMgr getPolymorphIdMgr(PMapper m)
Looks for a PolymorphIdMgr associated with this mapper.


registerPolymorphIdMgr

public static void registerPolymorphIdMgr(PolymorphIdMgr pim)
                                   throws PException
Adds this PolymorphIdMgr from this registry.

Throws:
PException