DiscoveryAgent
Identifier:
com.ibm.adapter.framework.DiscoveryAgent
Since:
1.0
Description:
This extension point
schema externalizes the view of com.ibm.adapter.framework.api.IDiscoveryAgent
instance.
Configuration Markup:
<!ELEMENT extension (DiscoveryAgent)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED>
<!ELEMENT DiscoveryAgent
EMPTY>
<!ATTLIST DiscoveryAgent
QName CDATA
#REQUIRED
DisplayName CDATA
#REQUIRED
Description CDATA
#REQUIRED
ImportKind CDATA
#REQUIRED
ImportType (META_DATA|ENDPOINT|OPERATION|PORT_TYPE|DATA_TYPE)
SupportsIteration (true | false)
class CDATA
#REQUIRED>
DiscoveryAgent element represents the Agent
that performs an actual data import function. This element is used to statically
register a particular DiscoveryAgent in the Import Registry.
- QName - Specifies the unique QName that identifies the
DiscoveryAgent (see example).
- DisplayName - Contains a short name that is intended to be
displayed by tools.
- Description - Specifies the description of the DiscoveryAgent's
functions (see example).
- ImportKind - Specifies the unique QName that identifies the data
import kind that the DiscoveryAgent can create.
- ImportType - Specifies the appropriate constant indicating what the
DiscoveryAgent is capable of importing. Valid values are:
IMPORT_TYPE_SERVICE_ENDPOINT, IMPORT_TYPE_SERVICE_PORT_TYPE,
IMPORT_TYPE_SERVICE_OPERATION, IMPORT_TYPE_SERVICE_DATA_TYPE,
IMPORT_TYPE_BINARY_META_DATA.
- SupportsIteration - Specifies if Discovery Agent supports
aggregation of ImportResults through multiple calls to initialize method on
the same Discovery Agent instance.
- class - Specifies the fully qulified name of the Java class that
implements the com.ibm.adapter.framework.api.IDiscoveryAgent interface (see
example).
Examples:
<extension point=
"com.ibm.adapter.framework.DiscoveryAgent"
>
<DiscoveryAgent
QName=
"com/ibm/adapter:CobolDiscoveryAgent"
ImportType=
"IMPORT_TYPE_SERVICE_DATA_TYPE"
ImportKind=
"com/ibm/adapter:COBOL_CAM"
class=
"com.ibm.adapter.cobol.CobolDiscoveryAgent"
Description=
"Discovery Agent that can import a COBOL file and create a CAM model from it."
DisplayName=
"Cobol Discovery Agent"
SupportsIteration=false>
</DiscoveryAgent>
</extension>