Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.adf.model.adapter
Class DTContext

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by oracle.adf.model.adapter.AdapterContext
              extended by oracle.adf.model.adapter.DTContext
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public abstract class DTContext
extends AdapterContext

Design time context holds the context information required to get information from the data source to define an instance.

When a design time starts, it creates a DTContext for it and registers it with this class. Each implementation should override the getConnectionContext() method to provide a design time specific context.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
static java.lang.String JDEV_CONTEXT
          Key to get the JDeveloper context.
 
Fields inherited from class oracle.adf.model.adapter.AdapterContext
CONNECTION_FILE_NAME, CONNECTION_INFO, HTTP_REQUEST, HTTP_RESPONSE, INITIAL_CONTEXT_FACTORY
 
Constructor Summary
DTContext()
           
 
Method Summary
static DTContext getInstance()
          Gets the design time context as implemented by the current design time.
 oracle.adf.share.logging.ADFLogger getLogger()
          Returns the logger for this context.
static void setCurrentContextImpl(DTContext impl)
          Sets the current design time implementation of this class.
 
Methods inherited from class oracle.adf.model.adapter.AdapterContext
getBindingContext, getConnectionContext, getDefaultContext
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

JDEV_CONTEXT

public static final java.lang.String JDEV_CONTEXT
Key to get the JDeveloper context.

See Also:
Constant Field Values
Constructor Detail

DTContext

public DTContext()
Method Detail

setCurrentContextImpl

public static void setCurrentContextImpl(DTContext impl)
Sets the current design time implementation of this class.


getInstance

public static DTContext getInstance()
Gets the design time context as implemented by the current design time.


getLogger

public oracle.adf.share.logging.ADFLogger getLogger()
Returns the logger for this context.

Overrides:
getLogger in class AdapterContext

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

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