com.ibm.di.config.base
Class FunctionConfigImpl

java.lang.Object
  extended by com.ibm.di.config.base.BaseConfigurationImpl
      extended by com.ibm.di.config.base.ConnectorConfigImpl
          extended by com.ibm.di.config.base.FunctionConfigImpl
All Implemented Interfaces:
BaseConfiguration, ConnectorConfig, FunctionConfig, MetamergeConfigChangeListener, OperationsConfig, Serializable

public class FunctionConfigImpl
extends ConnectorConfigImpl
implements FunctionConfig

The configuration for a TDI Function Component, e.g. used in an AssemblyLine.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.di.config.base.ConnectorConfigImpl
parserConfig
 
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl
NAME
 
Fields inherited from interface com.ibm.di.config.interfaces.ConnectorConfig
ADDONLY_MODE, BRANCH_MODE, CALL_REPLY_MODE, COMP_INIT_DEFAULT, COMP_INIT_EVERYTIME, COMP_INIT_MODIFIED, COMP_INIT_USE, DELETE_MODE, DELTA_MODE, DELTA_NO_DELETE, DELTA_NORMAL, DISABLED_STATE, ENABLED_STATE, FUNCTION_MODE, INPUT_MAP_NAME, ITERATOR_MODE, LOOKUP_MODE, MAPPING_MODE, OUTPUT_MAP_NAME, PASSIVE_STATE, REPLY_MODE, SCHEMA_INPUT, SCHEMA_OUTPUT, SCRIPT_MODE, SERVER_MODE, SERVER_OPTION_CONNECTOR, SERVER_OPTION_ENTRY, UPDATE_MODE
 
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE
 
Constructor Summary
FunctionConfigImpl()
           
FunctionConfigImpl(Object data)
           
 
Method Summary
 Object getClone()
          Return self clone
 RawFunctionConfig getFunctionConfig()
          Function specific configuration
 String getJavaClass()
          Returns the implementing java class
 String getMode()
          Returns the mode which is always call-reply
 void init()
          This method initializes the ConnectorConfig object, adds children to it and initializes them too.
 void setupInheritanceChain()
          Established the inheritance chain for this object.
 
Methods inherited from class com.ibm.di.config.base.ConnectorConfigImpl
createOperation, flatten, getAttributeMap, getAttributeMap, getAttributeMap, getCheckpointConfig, getComputeChanges, getConnectionConfig, getConnectorScript, getDeltaBehavior, getDeltaConfig, getDeltaStrict, getEnabled, getHooks, getInitializeOption, getLinkCriteria, getOperation, getOperationCarrier, getOperationCarrierIsProperty, getOperations, getParserConfig, getPoolDefConfig, getPoolInstanceConfig, getPublishedInitParams, getReconnectConfig, getReferences, getReplyRequired, getSandboxConfig, getSchema, getSchema, getServerOption, getSkipLookup, getState, isEntryFeed, setAttributeMap, setAttributeMap, setComputeChanges, setConnectionConfig, setConnectorScript, setDeltaBehavior, setDeltaStrict, setEnabled, setInheritsFromRef, setInitializeOption, setLinkCriteria, setMode, setOperationCarrier, setOperationCarrierIsProperty, setParserConfig, setPublishedInitParams, setSkipLookup, setState, supportsSkipLookup, updateInheritsFrom
 
Methods inherited from class com.ibm.di.config.base.BaseConfigurationImpl
addListener, configurationChanged, deepClone, detachFromParent, expandPropertyValue, expandPropertyValue, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getLongName, getMetamergeConfig, getModified, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getPath, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseConfigListeners, getUseListeners, getUserComment, hasParameter, isExpression, isParameterLocal, nameForChild, notifyChange, notifyChange, notifyChange, performNotifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setFlags, setInheritsFrom, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setUseConfigListeners, setUseListeners, setUserComment, size, toEntry, toString, willExpandProps, willFlatten, willUseInherited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.di.config.interfaces.ConnectorConfig
getAttributeMap, getAttributeMap, getAttributeMap, getCheckpointConfig, getComputeChanges, getConnectionConfig, getConnectorScript, getDeltaBehavior, getDeltaConfig, getDeltaStrict, getEnabled, getHooks, getInitializeOption, getLinkCriteria, getOperationCarrier, getOperationCarrierIsProperty, getParserConfig, getPoolDefConfig, getPoolInstanceConfig, getReconnectConfig, getReplyRequired, getSandboxConfig, getSchema, getSchema, getServerOption, getSkipLookup, getState, isEntryFeed, setAttributeMap, setAttributeMap, setComputeChanges, setConnectorScript, setDeltaBehavior, setDeltaStrict, setEnabled, setInitializeOption, setLinkCriteria, setMode, setOperationCarrier, setOperationCarrierIsProperty, setParserConfig, setSkipLookup, setState, supportsSkipLookup
 
Methods inherited from interface com.ibm.di.config.interfaces.OperationsConfig
createOperation, getOperation, getOperations, getPublishedInitParams, setPublishedInitParams
 
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, isExpression, isParameterLocal, nameForChild, notifyChange, notifyChange, notifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
 

Constructor Detail

FunctionConfigImpl

public FunctionConfigImpl()
                   throws Exception
Throws:
Exception

FunctionConfigImpl

public FunctionConfigImpl(Object data)
                   throws Exception
Throws:
Exception
Method Detail

init

public void init()
          throws Exception
Description copied from class: ConnectorConfigImpl
This method initializes the ConnectorConfig object, adds children to it and initializes them too.

Specified by:
init in interface BaseConfiguration
Overrides:
init in class ConnectorConfigImpl
Throws:
Exception - if could not parse or initialize some configuration

setupInheritanceChain

public void setupInheritanceChain()
                           throws Exception
Description copied from class: ConnectorConfigImpl
Established the inheritance chain for this object.

Specified by:
setupInheritanceChain in interface BaseConfiguration
Overrides:
setupInheritanceChain in class ConnectorConfigImpl
Throws:
Exception - if the operation could not be performed

getJavaClass

public String getJavaClass()
Returns the implementing java class

Specified by:
getJavaClass in interface FunctionConfig
Returns:
The java class

getMode

public String getMode()
Returns the mode which is always call-reply

Specified by:
getMode in interface ConnectorConfig
Overrides:
getMode in class ConnectorConfigImpl
Returns:
The mode

getFunctionConfig

public RawFunctionConfig getFunctionConfig()
Function specific configuration

Specified by:
getFunctionConfig in interface FunctionConfig

getClone

public Object getClone()
                throws Exception
Return self clone

Specified by:
getClone in interface BaseConfiguration
Overrides:
getClone in class ConnectorConfigImpl
Returns:
a cloned version of this object.
Throws:
Exception