oracle.adf.model.adapter
Class AdapterDefinition

java.lang.Object
oracle.adf.model.adapter.AdapterDefinition

public class AdapterDefinition

extends java.lang.Object

Adapter definition contains the definitions of the adapters available for
the system. Adapters are the drivers that can handle different data sources
to connect and execute queries. Data controls use adapters to connect to data
sources.

Adapter definition defines the class name that implements the adapter. It
also defines the data source type that it can handle. The data source type
information contains the class name that represent a data source in the
JDeveloper connection navigator.

Every adapter implementation must have a definition file defined for it. The
definition file must be named as adapter-definition.xml. The
file should be in the application class path under the folder meta-inf.

Adapter definitions are loaded once per JVM. The initialize()()
method call triggers the loading of the files, if it's not already loaded by
another thread. Once loaded the information is shared across different thread
running for the JVM.

An iterator of java.lang.Class representing nodes in
the JDeveloper coinnection pane that this adapter can accept as
a data source connection.

canHandle

public boolean canHandle(java.lang.Object obj)

Checks if a specific data source type can be handled by this adapter.

Parameters:

obj - The object that can be used as a data source connection node.
It can either the name of the data source type or the node
object that represents the data source in the JDeveloper
connection navigator.