Basic Component Definitions
You can use the syntax provided here to create component definitions.
When you first create your component definition file you
add the main sections for the components your jar file contains. For
each component you add a section where you as a minimum define Java™ class. The syntax is as follows
for the three main components:
In addition you should always include a form definition for
each of your components. This is to prevent the configuration editor
to report errors of missing forms. If your component has no configurable
parameters you should include a form that says so.
| Component Type | Minimum Section Contents |
|---|---|
| Connector |
|
| Parser |
|
| Function |
|
Note: The current
configuration object that the Form refers to is always the connectorConfig/parserConfig/functionConfig object.
If you need to access the main component's parameters you should use
the "config.getParent()" method to obtain for example the ConnectorConfig
interface for the configuration.