Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.0.0)

E10686-01


oracle.adf.share.jndi
Class ContextImpl

java.lang.Object
  extended by oracle.adf.share.jndi.ContextImpl

All Implemented Interfaces:
javax.naming.Context, javax.naming.event.EventContext, AdfJndiContext, ConnectionEventContext, ProviderProperties

public class ContextImpl
extends java.lang.Object
implements AdfJndiContext, ProviderProperties, ConnectionEventContext

Field Summary
static java.lang.String APPLICATION_LEVEL_CACHE_KEY
           

 

Fields inherited from interface oracle.adf.share.jndi.ProviderProperties
DOCUMENT_STORE

 

Fields inherited from interface javax.naming.event.EventContext
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE

 

Fields inherited from interface javax.naming.Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES

 

Method Summary
 void addContextSaveListener(ContextSaveListener l)
           
 void addNamingListener(javax.naming.Name target, int scope, javax.naming.event.NamingListener l)
           
 void addNamingListener(java.lang.String target, int scope, javax.naming.event.NamingListener l)
           
 java.lang.Object addToEnvironment(java.lang.String propName, java.lang.Object propVal)
           
 void bind(javax.naming.Name name, java.lang.Object obj)
           
 void bind(java.lang.String name, java.lang.Object obj)
           
 void close()
           
 javax.naming.Name composeName(javax.naming.Name name, javax.naming.Name prefix)
           
 java.lang.String composeName(java.lang.String name, java.lang.String prefix)
           
protected  DocumentBackingStore createDocumentBackingStore()
           
 javax.naming.Context createSubcontext(javax.naming.Name name)
           
 javax.naming.Context createSubcontext(java.lang.String name)
           
 void destroySubcontext(javax.naming.Name name)
           
 void destroySubcontext(java.lang.String name)
           
 java.util.Hashtable getEnvironment()
           
 ADFLogger getLogger()
           
 java.lang.String getNameInNamespace()
           
 javax.naming.NameParser getNameParser(javax.naming.Name name)
           
 javax.naming.NameParser getNameParser(java.lang.String name)
           
 java.util.Map<java.lang.String,javax.naming.Reference> getReferenceMap()
          Return a Map containing a javax.naming.Reference object for each corresponding JAXB ReferenceType.
 javax.naming.NamingEnumeration list(javax.naming.Name name)
           
 javax.naming.NamingEnumeration list(java.lang.String name)
           
 javax.naming.NamingEnumeration listBindings(javax.naming.Name name)
           
 javax.naming.NamingEnumeration listBindings(java.lang.String name)
           
 java.lang.Object lookup(javax.naming.Name name)
           
 java.lang.Object lookup(java.lang.String name)
           
 java.lang.Object lookupLink(javax.naming.Name name)
           
 java.lang.Object lookupLink(java.lang.String name)
           
 void rebind(javax.naming.Name name, java.lang.Object obj)
           
 void rebind(java.lang.String name, java.lang.Object obj)
           
 void reload()
           
 void removeContextSaveListener(ContextSaveListener l)
           
 java.lang.Object removeFromEnvironment(java.lang.String propName)
           
 void removeNamingListener(javax.naming.event.NamingListener l)
           
 void rename(javax.naming.Name oldName, javax.naming.Name newName)
           
 void rename(java.lang.String oldName, java.lang.String newName)
           
 void save()
           
 void saveAs(java.lang.String url)
           
 boolean targetMustExist()
          This implementation only supports listeners for targets that already exist
 void unbind(javax.naming.Name name)
           
 void unbind(java.lang.String name)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

APPLICATION_LEVEL_CACHE_KEY

public static final java.lang.String APPLICATION_LEVEL_CACHE_KEY
See Also:
Constant Field Values

Method Detail

lookup

public java.lang.Object lookup(javax.naming.Name name)
                        throws javax.naming.NamingException
Specified by:
lookup in interface javax.naming.Context
Throws:
javax.naming.NamingException

lookup

public java.lang.Object lookup(java.lang.String name)
                        throws javax.naming.NamingException
Specified by:
lookup in interface javax.naming.Context
Throws:
javax.naming.NamingException

bind

public void bind(javax.naming.Name name,
                 java.lang.Object obj)
          throws javax.naming.NamingException
Specified by:
bind in interface javax.naming.Context
Throws:
javax.naming.NamingException

bind

public void bind(java.lang.String name,
                 java.lang.Object obj)
          throws javax.naming.NamingException
Specified by:
bind in interface javax.naming.Context
Throws:
javax.naming.NamingException

rebind

public void rebind(javax.naming.Name name,
                   java.lang.Object obj)
            throws javax.naming.NamingException
Specified by:
rebind in interface javax.naming.Context
Throws:
javax.naming.NamingException

rebind

public void rebind(java.lang.String name,
                   java.lang.Object obj)
            throws javax.naming.NamingException
Specified by:
rebind in interface javax.naming.Context
Throws:
javax.naming.NamingException

unbind

public void unbind(javax.naming.Name name)
            throws javax.naming.NamingException
Specified by:
unbind in interface javax.naming.Context
Throws:
javax.naming.NamingException

unbind

public void unbind(java.lang.String name)
            throws javax.naming.NamingException
Specified by:
unbind in interface javax.naming.Context
Throws:
javax.naming.NamingException

rename

public void rename(javax.naming.Name oldName,
                   javax.naming.Name newName)
            throws javax.naming.NamingException
Specified by:
rename in interface javax.naming.Context
Throws:
javax.naming.NamingException

rename

public void rename(java.lang.String oldName,
                   java.lang.String newName)
            throws javax.naming.NamingException
Specified by:
rename in interface javax.naming.Context
Throws:
javax.naming.NamingException

list

public javax.naming.NamingEnumeration list(javax.naming.Name name)
                                    throws javax.naming.NamingException
Specified by:
list in interface javax.naming.Context
Throws:
javax.naming.NamingException

list

public javax.naming.NamingEnumeration list(java.lang.String name)
                                    throws javax.naming.NamingException
Specified by:
list in interface javax.naming.Context
Throws:
javax.naming.NamingException

listBindings

public javax.naming.NamingEnumeration listBindings(javax.naming.Name name)
                                            throws javax.naming.NamingException
Specified by:
listBindings in interface javax.naming.Context
Throws:
javax.naming.NamingException

listBindings

public javax.naming.NamingEnumeration listBindings(java.lang.String name)
                                            throws javax.naming.NamingException
Specified by:
listBindings in interface javax.naming.Context
Throws:
javax.naming.NamingException

destroySubcontext

public void destroySubcontext(javax.naming.Name name)
                       throws javax.naming.NamingException
Specified by:
destroySubcontext in interface javax.naming.Context
Throws:
javax.naming.NamingException

destroySubcontext

public void destroySubcontext(java.lang.String name)
                       throws javax.naming.NamingException
Specified by:
destroySubcontext in interface javax.naming.Context
Throws:
javax.naming.NamingException

createSubcontext

public javax.naming.Context createSubcontext(javax.naming.Name name)
                                      throws javax.naming.NamingException
Specified by:
createSubcontext in interface javax.naming.Context
Throws:
javax.naming.NamingException

createSubcontext

public javax.naming.Context createSubcontext(java.lang.String name)
                                      throws javax.naming.NamingException
Specified by:
createSubcontext in interface javax.naming.Context
Throws:
javax.naming.NamingException

lookupLink

public java.lang.Object lookupLink(javax.naming.Name name)
                            throws javax.naming.NamingException
Specified by:
lookupLink in interface javax.naming.Context
Throws:
javax.naming.NamingException

lookupLink

public java.lang.Object lookupLink(java.lang.String name)
                            throws javax.naming.NamingException
Specified by:
lookupLink in interface javax.naming.Context
Throws:
javax.naming.NamingException

getNameParser

public javax.naming.NameParser getNameParser(javax.naming.Name name)
                                      throws javax.naming.NamingException
Specified by:
getNameParser in interface javax.naming.Context
Throws:
javax.naming.NamingException

getNameParser

public javax.naming.NameParser getNameParser(java.lang.String name)
                                      throws javax.naming.NamingException
Specified by:
getNameParser in interface javax.naming.Context
Throws:
javax.naming.NamingException

composeName

public javax.naming.Name composeName(javax.naming.Name name,
                                     javax.naming.Name prefix)
                              throws javax.naming.NamingException
Specified by:
composeName in interface javax.naming.Context
Throws:
javax.naming.NamingException

composeName

public java.lang.String composeName(java.lang.String name,
                                    java.lang.String prefix)
                             throws javax.naming.NamingException
Specified by:
composeName in interface javax.naming.Context
Throws:
javax.naming.NamingException

addToEnvironment

public java.lang.Object addToEnvironment(java.lang.String propName,
                                         java.lang.Object propVal)
                                  throws javax.naming.NamingException
Specified by:
addToEnvironment in interface javax.naming.Context
Throws:
javax.naming.NamingException

removeFromEnvironment

public java.lang.Object removeFromEnvironment(java.lang.String propName)
                                       throws javax.naming.NamingException
Specified by:
removeFromEnvironment in interface javax.naming.Context
Throws:
javax.naming.NamingException

getEnvironment

public java.util.Hashtable getEnvironment()
                                   throws javax.naming.NamingException
Specified by:
getEnvironment in interface javax.naming.Context
Throws:
javax.naming.NamingException

close

public void close()
           throws javax.naming.NamingException
Specified by:
close in interface javax.naming.Context
Throws:
javax.naming.NamingException

getNameInNamespace

public java.lang.String getNameInNamespace()
                                    throws javax.naming.NamingException
Specified by:
getNameInNamespace in interface javax.naming.Context
Throws:
javax.naming.NamingException

createDocumentBackingStore

protected DocumentBackingStore createDocumentBackingStore()
                                                   throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getLogger

public ADFLogger getLogger()

getReferenceMap

public java.util.Map<java.lang.String,javax.naming.Reference> getReferenceMap()
                                                                       throws javax.naming.NamingException
Description copied from interface: AdfJndiContext
Return a Map containing a javax.naming.Reference object for each corresponding JAXB ReferenceType.
Specified by:
getReferenceMap in interface AdfJndiContext
Returns:
a Map containing a JNDI Reference for each corresponding JAXB ReferenceType. The key is the connection name.
Throws:
javax.naming.NamingException - if an exception occurs populating the Map.

reload

public void reload()
            throws javax.naming.NamingException
Specified by:
reload in interface AdfJndiContext
Throws:
javax.naming.NamingException

save

public void save()
          throws javax.naming.NamingException
Specified by:
save in interface AdfJndiContext
Throws:
javax.naming.NamingException

saveAs

public void saveAs(java.lang.String url)
            throws javax.naming.NamingException
Specified by:
saveAs in interface AdfJndiContext
Throws:
javax.naming.NamingException

addNamingListener

public void addNamingListener(javax.naming.Name target,
                              int scope,
                              javax.naming.event.NamingListener l)
                       throws javax.naming.NamingException
Specified by:
addNamingListener in interface javax.naming.event.EventContext
Throws:
javax.naming.NamingException

addNamingListener

public void addNamingListener(java.lang.String target,
                              int scope,
                              javax.naming.event.NamingListener l)
                       throws javax.naming.NamingException
Specified by:
addNamingListener in interface javax.naming.event.EventContext
Throws:
javax.naming.NamingException

removeNamingListener

public void removeNamingListener(javax.naming.event.NamingListener l)
                          throws javax.naming.NamingException
Specified by:
removeNamingListener in interface javax.naming.event.EventContext
Throws:
javax.naming.NamingException

addContextSaveListener

public void addContextSaveListener(ContextSaveListener l)
                            throws javax.naming.NamingException
Specified by:
addContextSaveListener in interface ConnectionEventContext
Throws:
javax.naming.NamingException

removeContextSaveListener

public void removeContextSaveListener(ContextSaveListener l)
                               throws javax.naming.NamingException
Specified by:
removeContextSaveListener in interface ConnectionEventContext
Throws:
javax.naming.NamingException

targetMustExist

public boolean targetMustExist()
This implementation only supports listeners for targets that already exist
Specified by:
targetMustExist in interface javax.naming.event.EventContext
Returns:

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.0.0)

E10686-01


Copyright © 1997, 2008, Oracle. All rights reserved.