org.objectweb.jorm.naming.api

Interface PNamingContext

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

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

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(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.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

Methods inherited from interface org.objectweb.jorm.naming.api.PNameManager

export, export, unexport, unexport

Method Details

resolve

public PName resolve(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.