|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.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. |
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 PolymorphIdMgrpublic LongGenMgr getLongGenMgr()
getLongGenMgr in interface PolymorphIdMgr
public PBinder getPBinder(java.lang.String cn)
throws PException
getPBinder in interface PolymorphIdMgrcn - The class name.
PException
public PBinder getPBinder(java.lang.String cn,
java.lang.Object conn)
throws PException
getPBinder in interface PolymorphIdMgrcn - The class name.
PException
public PBinder getPBinder(long id)
throws PException
getPBinder in interface PolymorphIdMgrid - 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.
PExceptionpublic 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 PolymorphIdMgrPException
public long newClassId()
throws PException
newClassId in interface PolymorphIdMgrPExceptionpublic void ncTypeDef(PolymorphRefNC p)
ncTypeDef in interface PolymorphIdMgr
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||