|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.facility.naming.polymorphid.PolymorphIdMgrImpl
Field Summary | |
protected Logger |
logger
|
Constructor Summary | |
PolymorphIdMgrImpl()
|
Method Summary | |
void |
binderTypeDef(PolymorphIdBinderInfo b)
Notifies the manager that a PType has been associated with this binder. |
LongGenMgr |
getLongGenMgr()
Retrieves the LongGenMgr associated with this PolymorphIdMgr. |
PBinder |
getPBinder(long id)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given identifier. |
PBinder |
getPBinder(long id,
java.lang.Object conn)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given identifier. |
PBinder |
getPBinder(java.lang.String cn)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given name. |
PBinder |
getPBinder(java.lang.String cn,
java.lang.Object conn)
Retrieves a PBinder that manages polymorphic identifiers for the class with the given name. |
PMapper |
getPMapper()
Retrieves the mapper associated with this PolymorphIdMgr. |
PNamingContext |
getRefNC(java.lang.String cn)
Retrieves a PNamingContext that manages polymorphic references for the class with the given name. |
void |
init(PMapper pm,
byte clact)
Initializes a polymorphic identifier manager by mapping relevant classes to the given mapper, and setting up relevant initial persistent information. |
void |
ncTypeDef(PolymorphRefNC p)
Notifies the manager that a PType has been associated with this binder. |
long |
newClassId()
Allocates a new persisttent class identifier. |
long |
newClassId(java.lang.Object conn)
|
void |
setLogger(Logger l)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Logger logger
Constructor Detail |
public PolymorphIdMgrImpl()
Method Detail |
public void setLogger(Logger l)
public void binderTypeDef(PolymorphIdBinderInfo b)
binderTypeDef
in interface PolymorphIdMgr
public LongGenMgr getLongGenMgr()
getLongGenMgr
in interface PolymorphIdMgr
public PBinder getPBinder(java.lang.String cn) throws PException
getPBinder
in interface PolymorphIdMgr
cn
- The class name.
PException
public PBinder getPBinder(java.lang.String cn, java.lang.Object conn) throws PException
getPBinder
in interface PolymorphIdMgr
cn
- The class name.
PException
public PBinder getPBinder(long id) throws PException
getPBinder
in interface PolymorphIdMgr
id
- The class identifier.
PException
public PBinder getPBinder(long id, java.lang.Object conn) throws PException
id
- The class name.conn
- The connection to access the data store.
PException
public PMapper getPMapper()
getPMapper
in interface PolymorphIdMgr
public PNamingContext getRefNC(java.lang.String cn)
getRefNC
in interface PolymorphIdMgr
cn
- The class name.public void init(PMapper pm, byte clact) throws PException
init
in interface PolymorphIdMgr
PException
public long newClassId() throws PException
newClassId
in interface PolymorphIdMgr
PException
public long newClassId(java.lang.Object conn) throws PException
newClassId
in interface PolymorphIdMgr
PException
public void ncTypeDef(PolymorphRefNC p)
ncTypeDef
in interface PolymorphIdMgr
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |