Skip navigation links

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

E10686-06


oracle.adf.share.services
Class DescriptorContextFactory

java.lang.Object
  extended by oracle.adf.share.services.DescriptorContextFactory


public class DescriptorContextFactory
extends java.lang.Object

Method Summary
 DescriptorContext getContext(java.net.URL jarURL)
           
 DescriptorContext getContext(java.net.URL jarURL, java.util.Hashtable env)
           
static DescriptorContextFactory getInstance()
           

 

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

 

Method Detail

getInstance

public static DescriptorContextFactory getInstance()

getContext

public DescriptorContext getContext(java.net.URL jarURL)
                             throws javax.naming.NamingException
Parameters:
jarURL - may be null to get the list of items for the environment. Otherwise, it's a particular jar location to iterate the items inside directly.
Returns:
the descriptor context instance appropriate for the parameter.
Throws:
javax.naming.NamingException

getContext

public DescriptorContext getContext(java.net.URL jarURL,
                                    java.util.Hashtable env)
                             throws javax.naming.NamingException
Parameters:
jarURL - may be null to get the list of items for the environment. Otherwise, it's a particular jar location to iterate the items inside directly.
env - may contain entries keyed by constants from either: javax.naming.Context; or oracle.adf.share.services.DescriptorJndiConstants
Returns:
the descriptor context instance appropriate for the parameters.
Throws:
javax.naming.NamingException

Skip navigation links

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

E10686-06


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