|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap
oracle.adf.model.adapter.AdapterContext
public class AdapterContext
Defines the context for an adapter.Adapters can get the information like request, connection informstion etc from this context.
Design time context is derived from this context class. Design time context stores or overrides information that are relevant for the design time only.
DTContext
,
Serialized FormNested 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 |
CONNECTION_FILE_NAME
Name of the connection file. |
static java.lang.String |
CONNECTION_INFO
Key to extract connection information from a parameter map. |
static java.lang.String |
HTTP_REQUEST
|
static java.lang.String |
HTTP_RESPONSE
|
static java.lang.String |
INITIAL_CONTEXT_FACTORY
Context factory impl name. |
Constructor Summary | |
---|---|
AdapterContext()
Creates an empty context. |
|
AdapterContext(BindingContext ctx)
Creates an context from a binding context. |
Method Summary | |
---|---|
BindingContext |
getBindingContext()
Gets the binding context associated with this context. |
javax.naming.Context |
getConnectionContext()
Gets the context for the connections. |
static AdapterContext |
getDefaultContext()
|
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 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 |
---|
public static final java.lang.String HTTP_REQUEST
public static final java.lang.String HTTP_RESPONSE
public static final java.lang.String CONNECTION_FILE_NAME
public static final java.lang.String INITIAL_CONTEXT_FACTORY
public static final java.lang.String CONNECTION_INFO
Adapters can use connection information to access a data source. The adapter definition contains the name of the connection used by the adapter.
Constructor Detail |
---|
public AdapterContext()
public AdapterContext(BindingContext ctx)
ctx
- The binding context for the application.Method Detail |
---|
public static AdapterContext getDefaultContext()
public static void setCurrentContextImpl(DTContext impl)
public javax.naming.Context getConnectionContext() throws java.lang.Exception
java.lang.Exception
public BindingContext getBindingContext()
public oracle.adf.share.logging.ADFLogger getLogger()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |