org.objectweb.jorm.naming.api
Interface PNameManager
- PNameCoder
- FilteredPNamingContext, KeyFilteredNamingContext, PBinder, PNamingContext
public interface PNameManager
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).
- R. Basset, P. D?chamboux
CTBIGDECIMAL , CTBIGINTEGER , CTBYTE , CTBYTEARRAY , CTCHAR , CTCHARARRAY , CTCOMPOSITE , CTDATE , CTINT , CTLONG , CTOBYTE , CTOCHAR , CTOINT , CTOLONG , CTOSHORT , CTSHORT , CTSTRING , CTSYSTEM |
PName | export(Object conn, Object infoitem) - It associates a PName to an information item within a naming context.
|
PName | export(Object conn, Object infoitem, Object hints) - It associates a PName to an information item within a naming context.
|
void | unexport(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(Object conn, PName pn, 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).
|
codingSupported , decode , decodeAbstract , decodeBigDecimal , decodeBigInteger , decodeByte , decodeChar , decodeCharArray , decodeDate , decodeInt , decodeLong , decodeObyte , decodeOchar , decodeOint , decodeOlong , decodeOshort , decodeShort , decodeString , encode , encodeAbstract , encodeBigDecimal , encodeBigInteger , encodeByte , encodeChar , encodeCharArray , encodeDate , encodeInt , encodeLong , encodeObyte , encodeOchar , encodeOint , encodeOlong , encodeOshort , encodeShort , encodeString , getNull , getPType , setNullPName , setPType , supportCompositeField , supportDynamicComposite , supportStaticComposite |
export
public PName export(Object conn,
Object infoitem)
throws PException
It associates a PName to an information item within a naming context.
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.
- The
PName
associated to the given information
item.
export
public PName export(Object conn,
Object infoitem,
Object hints)
throws PException
It associates a PName to an information item within a naming context.
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.
- The
PName
associated to the given information
item.
unexport
public void unexport(Object conn,
PName pn)
throws PException
It removes the PName and all the associated information within a naming
context (i.e., the association between the PName and its information
item).
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.
unexport
public void unexport(Object conn,
PName pn,
Object hints)
throws PException
It removes the PName and all the associated information within a naming
context (i.e., the association between the PName and its information
item).
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.