aicas logo Jamaica 3.4 release 8

javax.naming
Interface Context

All Known Subinterfaces:
DirContext, EventContext, EventDirContext, LdapContext
All Known Implementing Classes:
AtomicContext, AtomicDirContext, ComponentContext, ComponentDirContext, GenericURLContext, GenericURLDirContext, HierMemDirCtx, InitialContext, InitialDirContext, InitialLdapContext, LdapCtx, ldapURLContext, PartialCompositeContext, PartialCompositeDirContext

public interface Context


Field Summary
static String APPLET
           
static String AUTHORITATIVE
           
static String BATCHSIZE
           
static String DNS_URL
           
static String INITIAL_CONTEXT_FACTORY
           
static String LANGUAGE
           
static String OBJECT_FACTORIES
           
static String PROVIDER_URL
           
static String REFERRAL
           
static String SECURITY_AUTHENTICATION
           
static String SECURITY_CREDENTIALS
           
static String SECURITY_PRINCIPAL
           
static String SECURITY_PROTOCOL
           
static String STATE_FACTORIES
           
static String URL_PKG_PREFIXES
           
 
Method Summary
 Object addToEnvironment(String propName, Object propVal)
           
 void bind(Name name, Object obj)
           
 void bind(String name, Object obj)
           
 void close()
           
 Name composeName(Name name, Name prefix)
           
 String composeName(String name, String prefix)
           
 Context createSubcontext(Name name)
           
 Context createSubcontext(String name)
           
 void destroySubcontext(Name name)
           
 void destroySubcontext(String name)
           
 Hashtable getEnvironment()
           
 String getNameInNamespace()
           
 NameParser getNameParser(Name name)
           
 NameParser getNameParser(String name)
           
 NamingEnumeration list(Name name)
           
 NamingEnumeration list(String name)
           
 NamingEnumeration listBindings(Name name)
           
 NamingEnumeration listBindings(String name)
           
 Object lookup(Name name)
           
 Object lookup(String name)
           
 Object lookupLink(Name name)
           
 Object lookupLink(String name)
           
 void rebind(Name name, Object obj)
           
 void rebind(String name, Object obj)
           
 Object removeFromEnvironment(String propName)
           
 void rename(Name oldName, Name newName)
           
 void rename(String oldName, String newName)
           
 void unbind(Name name)
           
 void unbind(String name)
           
 

Field Detail

INITIAL_CONTEXT_FACTORY

static final String INITIAL_CONTEXT_FACTORY
See Also:
Constant Field Values

OBJECT_FACTORIES

static final String OBJECT_FACTORIES
See Also:
Constant Field Values

STATE_FACTORIES

static final String STATE_FACTORIES
See Also:
Constant Field Values

URL_PKG_PREFIXES

static final String URL_PKG_PREFIXES
See Also:
Constant Field Values

PROVIDER_URL

static final String PROVIDER_URL
See Also:
Constant Field Values

DNS_URL

static final String DNS_URL
See Also:
Constant Field Values

AUTHORITATIVE

static final String AUTHORITATIVE
See Also:
Constant Field Values

BATCHSIZE

static final String BATCHSIZE
See Also:
Constant Field Values

REFERRAL

static final String REFERRAL
See Also:
Constant Field Values

SECURITY_PROTOCOL

static final String SECURITY_PROTOCOL
See Also:
Constant Field Values

SECURITY_AUTHENTICATION

static final String SECURITY_AUTHENTICATION
See Also:
Constant Field Values

SECURITY_PRINCIPAL

static final String SECURITY_PRINCIPAL
See Also:
Constant Field Values

SECURITY_CREDENTIALS

static final String SECURITY_CREDENTIALS
See Also:
Constant Field Values

LANGUAGE

static final String LANGUAGE
See Also:
Constant Field Values

APPLET

static final String APPLET
See Also:
Constant Field Values
Method Detail

bind

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

bind

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

lookup

Object lookup(Name name)
              throws NamingException
Throws:
NamingException

lookup

Object lookup(String name)
              throws NamingException
Throws:
NamingException

rebind

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

rebind

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

unbind

void unbind(Name name)
            throws NamingException
Throws:
NamingException

unbind

void unbind(String name)
            throws NamingException
Throws:
NamingException

rename

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

rename

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

list

NamingEnumeration list(Name name)
                       throws NamingException
Throws:
NamingException

list

NamingEnumeration list(String name)
                       throws NamingException
Throws:
NamingException

listBindings

NamingEnumeration listBindings(Name name)
                               throws NamingException
Throws:
NamingException

listBindings

NamingEnumeration listBindings(String name)
                               throws NamingException
Throws:
NamingException

destroySubcontext

void destroySubcontext(Name name)
                       throws NamingException
Throws:
NamingException

destroySubcontext

void destroySubcontext(String name)
                       throws NamingException
Throws:
NamingException

createSubcontext

Context createSubcontext(Name name)
                         throws NamingException
Throws:
NamingException

createSubcontext

Context createSubcontext(String name)
                         throws NamingException
Throws:
NamingException

lookupLink

Object lookupLink(Name name)
                  throws NamingException
Throws:
NamingException

lookupLink

Object lookupLink(String name)
                  throws NamingException
Throws:
NamingException

getNameParser

NameParser getNameParser(Name name)
                         throws NamingException
Throws:
NamingException

getNameParser

NameParser getNameParser(String name)
                         throws NamingException
Throws:
NamingException

composeName

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

composeName

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

addToEnvironment

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

removeFromEnvironment

Object removeFromEnvironment(String propName)
                             throws NamingException
Throws:
NamingException

getEnvironment

Hashtable getEnvironment()
                         throws NamingException
Throws:
NamingException

close

void close()
           throws NamingException
Throws:
NamingException

getNameInNamespace

String getNameInNamespace()
                          throws NamingException
Throws:
NamingException

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.