|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The PNameManager interface provides a means to create, remove and manage PName. It ensures that each of the names it manages unambiguously designates a particular information item (another persistent name or a binding for instance).
| Field Summary |
| Fields inherited from interface org.objectweb.jorm.naming.api.PNameCoder |
CTBYTE, CTBYTEARRAY, CTCHAR, CTCHARARRAY, CTCOMPOSITE, CTDATE, CTINT, CTLONG, CTOBYTE, CTOCHAR, CTOINT, CTOLONG, CTOSHORT, CTSHORT, CTSTRING, CTSYSTEM |
| Method Summary | |
PName |
export(java.lang.Object conn,
java.lang.Object infoitem)
It associates a PName to an information item within a naming context. |
PName |
export(java.lang.Object conn,
java.lang.Object infoitem,
java.lang.Object hints)
It associates a PName to an information item within a naming context. |
void |
unexport(java.lang.Object conn,
PName pn)
It removes the PName and all the associated information within a naming context (i.e., the association between the PName and its information item). |
void |
unexport(java.lang.Object conn,
PName pn,
java.lang.Object hints)
It removes the PName and all the associated information within a naming context (i.e., the association between the PName and its information item). |
| Methods inherited from interface org.objectweb.jorm.naming.api.PNameCoder |
codingSupported, decode, decodeAbstract, decodeByte, decodeChar, decodeCharArray, decodeDate, decodeInt, decodeLong, decodeObyte, decodeOchar, decodeOint, decodeOlong, decodeOshort, decodeShort, decodeString, encode, encodeAbstract, encodeByte, encodeChar, encodeCharArray, encodeDate, encodeInt, encodeLong, encodeObyte, encodeOchar, encodeOint, encodeOlong, encodeOshort, encodeShort, encodeString, getNull, getPType, setNullPName, setPType, supportCompositeField, supportDynamicComposite, supportStaticComposite |
| Method Detail |
public PName export(java.lang.Object conn,
java.lang.Object infoitem)
throws PException
conn - The connection that can be used to access the data store.infoitem - The information item that must be accessible through a
PName within a naming context.
PName associated to the given information
item.
PExceptionNaming - Raised in case of problem within the
naming context.
PExceptionIO - Raised in case of problem during the access of
the data store.
PException
public PName export(java.lang.Object conn,
java.lang.Object infoitem,
java.lang.Object hints)
throws PException
conn - The connection that can be used to access the data store.infoitem - The information item that must be accessible through a
PName within a naming context.hints - Any information relevant for name creation.
PName associated to the given information
item.
PExceptionNaming - Raised in case of problem within the
naming context.
PExceptionIO - Raised in case of problem during the access of
the data store.
PException
public void unexport(java.lang.Object conn,
PName pn)
throws PException
conn - The connection that can be used to access the data store.pn - A PName valid in this naming context. In case of a PBinder,
export is done on a PBinding.
PExceptionNaming - Raised in case of problem within the
naming context.
PExceptionIO - Raised in case of problem during the access of
the data store
PException
public void unexport(java.lang.Object conn,
PName pn,
java.lang.Object hints)
throws PException
conn - The connection that can be used to access the data store.pn - A PName valid in this naming context. In case of a PBinder,
export is done on a PBinding.hints - Any information relevant for name removing.
PExceptionNaming - Raised in case of problem within the
naming context.
PExceptionIO - Raised in case of problem during the access of
the data store
PException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||