Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Oracle Application Development Framework Model Java API Reference 10g Release 3 (10.1.3) B25778-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.adf.model.adapter
Class DTContext

`java.lang.Object
java.util.AbstractMap
java.util.HashMap
oracle.adf.model.adapter.AdapterContext
oracle.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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Oracle Application Development Framework Model Java API Reference 10g Release 3 (10.1.3) B25778-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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