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

Class DescriptorFactory

  extended by
All Implemented Interfaces:

public class DescriptorFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory

Factory for URLDescriptor creation based on either: a single jar specified as a providerURL, or a classloader with 0-n adf library jars. Those parameters are mutually exclusive and the classloader is checked first. If neither one is specified then the current context class loader is used. If no provider_url, no classloader, or no adflibs in thread loader then a logically empty context is returned. Note: you must have a with this class name as the initial context class name, or pass a Hashtable directly with this class name. NOTE: OperationNotSupportedException is thrown for almost all Context mutator methods because this is a context over one or more jar files which we don't allow to be updated by this method! Example namespace names for this context look like: "|" "|" + "simple.jar" "|" + "simple.jar" + "|" + "ADF_TaskFlow" "|" + "simple.jar" + "|" + "ADF_DataControl" + "|" + "pkg/JavaBean.xml" "|" + "simple.jar" + "|" + "ADF_BusComps" + "|" + "pkg/name/AppModule.xml"

Constructor Summary
Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DescriptorFactory()
Method Detail


public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env)
Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory

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


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