|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.objectweb.jorm.facility.naming.polymorphid.PolymorphIdMgrImpl
| Field Summary | |
protected org.objectweb.util.monolog.api.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 name. |
PBinder |
getPBinder(long id,
java.lang.Object conn)
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 p)
Notifies the manager that a PType has been associated with this binder. |
long |
newClassId()
Allocates a new persisttent class identifier. |
void |
setLogger(org.objectweb.util.monolog.api.Logger l)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.objectweb.util.monolog.api.Logger logger
| Constructor Detail |
public PolymorphIdMgrImpl()
| Method Detail |
public void setLogger(org.objectweb.util.monolog.api.Logger l)
public void binderTypeDef(PolymorphIdBinderInfo b)
binderTypeDef in interface PolymorphIdMgrpublic LongGenMgr getLongGenMgr()
getLongGenMgr in interface PolymorphIdMgr
public PBinder getPBinder(java.lang.String cn)
throws PException
getPBinder in interface PolymorphIdMgrcn - The class name.
public PBinder getPBinder(java.lang.String cn,
java.lang.Object conn)
throws PException
getPBinder in interface PolymorphIdMgrcn - The class name.
public PBinder getPBinder(long id)
throws PException
getPBinder in interface PolymorphIdMgrcn - The class name.
public PBinder getPBinder(long id,
java.lang.Object conn)
throws PException
cn - The class name.public PMapper getPMapper()
getPMapper in interface PolymorphIdMgrpublic PNamingContext getRefNC(java.lang.String cn)
getRefNC in interface PolymorphIdMgrcn - The class name.
public void init(PMapper pm,
byte clact)
throws PException
init in interface PolymorphIdMgr
public long newClassId()
throws PException
newClassId in interface PolymorphIdMgrpublic void ncTypeDef(PolymorphRefNC p)
ncTypeDef in interface PolymorphIdMgr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||