Oracle Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


oracle.adf.model.adapter
Class DTContext

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byoracle.adf.model.adapter.AdapterContext
              extended byoracle.adf.model.adapter.DTContext

All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

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

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 Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


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