|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This manager allows the retrieval/allocation of PBinders and PNamingContext that manage polymorphic identifiers/references. These identifiers/references are composed of two longs: the first is the class identifier and the second one is the object identifier within this class (see PolymorphName.pd).
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 name. |
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 n)
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)
|
Method Detail |
public void binderTypeDef(PolymorphIdBinderInfo b)
public LongGenMgr getLongGenMgr()
public PBinder getPBinder(java.lang.String cn) throws PException
cn
- The class name.
PException
public PBinder getPBinder(long id) throws PException
PException
public PBinder getPBinder(java.lang.String cn, java.lang.Object conn) throws PException
cn
- The class name.
PException
public PMapper getPMapper()
public PNamingContext getRefNC(java.lang.String cn)
cn
- The class name.public void init(PMapper pm, byte clact) throws PException
PException
public void ncTypeDef(PolymorphRefNC n)
public long newClassId() throws PException
PException
public long newClassId(java.lang.Object conn) throws PException
PException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |