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

E10686-02

oracle.adf.share
Class DefaultNamedContext

java.lang.Object
  extended by oracle.adf.share.ADFContext
      extended by oracle.adf.share.DefaultNamedContext

public class DefaultNamedContext
extends ADFContext


Field Summary
protected  java.lang.String _name
           
protected  java.net.URL _url
           
 
Fields inherited from class oracle.adf.share.ADFContext
ADF_PROPERTY_NS, APPLICATION_DATA_KEY, APPLICATION_DATA_SEP, APPLICATION_NAME_SCOPE_KEY, APPLICATION_SCOPE, APPLICATION_UID, ATTRIBUTE_FORMATTER_MAP_KEY, CONNECTIONS_RESOURCE, MDS_SESSION_OPTIONS_FACTORY, NAMED_CONTEXT_ENV, PERSDEF_BASE_PACKAGE, REQUEST_SCOPE, SESSION_SCOPE, SESSIONDEF_BASE_PACKAGE, TYPE_GENERIC, TYPE_HTTP, TYPE_NAMED, TYPE_PORTLET, USE_ROLE_BASED_CUST_CLASS, USER_CUST_CLASSES, VIEW_SCOPE
 
Constructor Summary
DefaultNamedContext(java.lang.String name, java.net.URL url)
           
 
Method Summary
 ADFConfig getADFConfig()
          Gets the ADF configuration Object used by current thread.
 int getContextType()
          Returns a type for the context instance.
 java.net.URL getURL()
          This method can be used to get the URL associated with this named context
protected  Environment loadEnvironment()
           
 
Methods inherited from class oracle.adf.share.ADFContext
createScope, createScope, findApplicationScopeMap, findScope, get, getADFApplicationUID, getADFConfigEx, getADFContextProperty, getADFFacesViewScopeMap, getADFSettings, getApplication, getApplicationName, getApplicationScope, getApplicationScopekey, getApplicationScopeMap, getConfigSecurityContext, getConnectionsContext, getCurrent, getDeployedAppName, getEnvironment, getExpressionEvaluator, getLocale, getMDSConfigHelper, getMDSInstanceAsObject, getMDSLogin, getMDSSessionAsObject, getRequestScope, getScope, getScopeNames, getSecurityContext, getSessionDefPackages, getSessionScope, getSkipLevelIdentifier, getStateManager, getThreadLocalValue, getVariableResolver, getViewScope, hasCurrent, hasEnvironment, hasMDSSession, hasSecurityContext, hasSession, isDesignTime, isHttpContext, isJEE, isNamedContextRegistered, loadSecurityContext, putApplicationScopeMap, putScope, registerNamedContext, registerNamedContext, releaseMDSInstance, releaseMDSSession, removeAsCurrent, removeScope, removeThreadLocalValue, setAsCurrent, setExpressionEvaluator, setLocale, setMDSLogin, setSecurityContext, setThreadLocalValue, setVariableResolver, unregisterNamedContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_name

protected java.lang.String _name

_url

protected java.net.URL _url
Constructor Detail

DefaultNamedContext

public DefaultNamedContext(java.lang.String name,
                           java.net.URL url)
Method Detail

loadEnvironment

protected Environment loadEnvironment()
Specified by:
loadEnvironment in class ADFContext

getContextType

public int getContextType()
Description copied from class: ADFContext
Returns a type for the context instance. Current types include:
  • TYPE_GENERIC
  • TYPE_HTTP
  • TYPE_PORTLET
  • the type may be checked to implement logic specific to a platform.

    Specified by:
    getContextType in class ADFContext

    getADFConfig

    public ADFConfig getADFConfig()
    Description copied from class: ADFContext
    Gets the ADF configuration Object used by current thread.

    Overrides:
    getADFConfig in class ADFContext

    getURL

    public java.net.URL getURL()
    This method can be used to get the URL associated with this named context

    Overrides:
    getURL in class ADFContext
    Returns:
    - The URL to the adf-config.xml file for this context

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

    E10686-02

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