javax > javax.naming > javax.naming.context >

Interface: javax.naming.Context
    javax.naming.Context


public interface Context


FIELDS:
static final String APPLET : java.naming.applet
static final String AUTHORITATIVE : java.naming.authoritative
static final String BATCHSIZE : java.naming.batchsize
static final String DNS_URL : java.naming.dns.url
static final String INITIAL_CONTEXT_FACTORY : java.naming.factory.initial
static final String LANGUAGE : java.naming.language
static final String OBJECT_FACTORIES : java.naming.factory.object
static final String PROVIDER_URL : java.naming.provider.url
static final String REFERRAL : java.naming.referral
static final String SECURITY_AUTHENTICATION : java.naming.security.authentication
static final String SECURITY_CREDENTIALS : java.naming.security.credentials
static final String SECURITY_PRINCIPAL : java.naming.security.principal
static final String SECURITY_PROTOCOL : java.naming.security.protocol
static final String STATE_FACTORIES : java.naming.factory.state
static final String URL_PKG_PREFIXES : java.naming.factory.url.pkgs

CONSTRUCTORS:

METHODS:
Object addToEnvironment(String propName, Object propVal)
Throws: NamingException

void bind(String name, Object obj)
Throws: NameAlreadyBoundException
Throws: InvalidAttributesException
Throws: NamingException

void bind(Name name, Object obj)
Throws: NameAlreadyBoundException
Throws: InvalidAttributesException
Throws: NamingException

void close()
Throws: NamingException

String composeName(String name, String prefix)
Throws: NamingException

Name composeName(Name name, Name prefix)
Throws: NamingException

Context createSubcontext(String name)
Throws: NameAlreadyBoundException
Throws: InvalidAttributesException
Throws: NamingException

Context createSubcontext(Name name)
Throws: NameAlreadyBoundException
Throws: InvalidAttributesException
Throws: NamingException

void destroySubcontext(String name)
Throws: NameNotFoundException
Throws: NotContextException
Throws: ContextNotEmptyException
Throws: NamingException

void destroySubcontext(Name name)
Throws: NameNotFoundException
Throws: NotContextException
Throws: ContextNotEmptyException
Throws: NamingException

Hashtable getEnvironment()
Throws: NamingException

String getNameInNamespace()
Throws: OperationNotSupportedException
Throws: NamingException

NameParser getNameParser(String name)
Throws: NamingException

NameParser getNameParser(Name name)
Throws: NamingException

NamingEnumeration list(String name)
Throws: NamingException

NamingEnumeration list(Name name)
Throws: NamingException

NamingEnumeration listBindings(String name)
Throws: NamingException

NamingEnumeration listBindings(Name name)
Throws: NamingException

Object lookup(String name)
Throws: NamingException

Object lookup(Name name)
Throws: NamingException

Object lookupLink(String name)
Throws: NamingException

Object lookupLink(Name name)
Throws: NamingException

void rebind(String name, Object obj)
Throws: InvalidAttributesException
Throws: NamingException

void rebind(Name name, Object obj)
Throws: InvalidAttributesException
Throws: NamingException

Object removeFromEnvironment(String propName)
Throws: NamingException

void rename(String oldName, String newName)
Throws: NameAlreadyBoundException
Throws: NamingException

void rename(Name oldName, Name newName)
Throws: NameAlreadyBoundException
Throws: NamingException

void unbind(String name)
Throws: NameNotFoundException
Throws: NamingException

void unbind(Name name)
Throws: NameNotFoundException
Throws: NamingException


INHERITED METHODS:

SUBINTERFACES:
DirContext, EventContext,





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net