org.objectweb.jorm.naming.api
Interface PNamingContext

All Superinterfaces:
PNameCoder, PNameManager
All Known Subinterfaces:
FilteredPNamingContext, KeyFilteredNamingContext, PolymorphicPNamingContext

public interface PNamingContext
extends PNameManager

The PNamingContext interface adds a means to retrieves the information item attached to a PName it manages.

Author:
R. Basset, P. D?chamboux

Field Summary
 
Fields inherited from interface org.objectweb.jorm.naming.api.PNameCoder
CTBIGDECIMAL, CTBIGINTEGER, CTBYTE, CTBYTEARRAY, CTCHAR, CTCHARARRAY, CTCOMPOSITE, CTDATE, CTINT, CTLONG, CTOBYTE, CTOCHAR, CTOINT, CTOLONG, CTOSHORT, CTSHORT, CTSTRING, CTSYSTEM
 
Method Summary
 PName resolve(java.lang.Object conn, PName pn)
          It retrieves the information item associated to the given PName (if any exists).
 
Methods inherited from interface org.objectweb.jorm.naming.api.PNameManager
export, export, unexport, unexport
 
Methods inherited from interface org.objectweb.jorm.naming.api.PNameCoder
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
 

Method Detail

resolve

public PName resolve(java.lang.Object conn,
                     PName pn)
              throws PException
It retrieves the information item associated to the given PName (if any exists).

Parameters:
conn - The connection that can be used to access the data store.
pn - The PName to be looked up.
Returns:
The information item associated with the given PName within a naming context.
Throws:
PExceptionNaming - Raised in case of problem within the naming context.
PExceptionIO - Raised in case of problem during the access of the data store
PException