|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.ConnectorConfigImpl
public class ConnectorConfigImpl
This class implements the TDI Connector configuration.
| Field Summary | |
|---|---|
protected ParserConfig |
parserConfig
Parser configuration. |
| 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 | |
|---|---|
ConnectorConfigImpl()
Non-arg constructor |
|
ConnectorConfigImpl(Object config)
Constructor with one parameter. |
|
| Method Summary | |
|---|---|
OperationConfig |
createOperation(String name)
This method creates a new operation object. |
boolean |
flatten(List<String> excludedNS)
This method combines all values from this object and its inherited objects into one single config object. |
AttributeMapConfig |
getAttributeMap()
Attribute Maps |
AttributeMapConfig |
getAttributeMap(boolean input)
Gets the attributeMap attribute of the ConnectorConfig object |
AttributeMapConfig |
getAttributeMap(Object name)
Gets the attributeMap attribute of the ConnectorConfig object |
CheckpointConfig |
getCheckpointConfig()
|
Object |
getClone()
|
boolean |
getComputeChanges()
Returns the compute-changes flag for Update mode connector. |
RawConnectorConfig |
getConnectionConfig()
Connection parameters |
String |
getConnectorScript()
Script connectors |
int |
getDeltaBehavior()
|
DeltaConfig |
getDeltaConfig()
|
boolean |
getDeltaStrict()
|
boolean |
getEnabled()
Gets the enabled attribute of this object. |
HooksConfig |
getHooks()
Hooks |
int |
getInitializeOption()
|
LinkCriteriaConfig |
getLinkCriteria()
Link Criteria |
String |
getMode()
|
OperationConfig |
getOperation(String name)
This method returns the config for a given operation |
String |
getOperationCarrier()
|
boolean |
getOperationCarrierIsProperty()
|
ContainerConfig |
getOperations()
This method returns a list of supported operations |
ParserConfig |
getParserConfig()
Associated Parser configuration |
PoolDefConfig |
getPoolDefConfig()
|
PoolInstanceConfig |
getPoolInstanceConfig()
|
SchemaConfig |
getPublishedInitParams()
Returns the Published Initialization Parameter Schema for the AssemblyLine |
ReconnectConfig |
getReconnectConfig()
|
List<String> |
getReferences(List<String> list)
|
boolean |
getReplyRequired()
|
SandboxConfig |
getSandboxConfig()
|
SchemaConfig |
getSchema(boolean input)
|
SchemaConfig |
getSchema(String name)
|
String |
getServerOption()
|
boolean |
getSkipLookup()
Gets the Skip Lookup option from the Connector. |
String |
getState()
State (typically used in the AssemblyLine) |
void |
init()
This method initializes the ConnectorConfig object, adds children to it and initializes them too. |
boolean |
isEntryFeed()
|
void |
setAttributeMap(AttributeMapConfig attributeMap)
Sets the attributeMap attribute of the ConnectorConfig object |
void |
setAttributeMap(AttributeMapConfig attributeMap,
boolean input)
Sets the attributeMap attribute of the ConnectorConfig object |
void |
setComputeChanges(boolean cc)
Sets the compute-changes flag for Update mode connector. |
void |
setConnectionConfig(RawConnectorConfig rcc)
Sets the connectionConfig attribute of the connector config. |
void |
setConnectorScript(String script)
Sets the connectorScript attribute of the ConnectorConfig object |
void |
setDeltaBehavior(int behavior)
Sets delta behavior. |
void |
setDeltaStrict(boolean strict)
Sets the delta strict flag. |
void |
setEnabled(boolean enabled)
Sets the enabled attribute of this object. |
void |
setInheritsFromRef(String ref)
Sets the name of the object from which this object should inherit its values. |
void |
setInitializeOption(int option)
This method sets the the initialization option for the component |
void |
setLinkCriteria(LinkCriteriaConfig linkCriteria)
Sets the linkCriteria attribute of the ConnectorConfig object |
void |
setMode(String mode)
Sets the mode attribute of the ConnectorConfig object |
void |
setOperationCarrier(String name)
This method sets the name of the operation carrier |
void |
setOperationCarrierIsProperty(boolean isproperty)
This method sets whether the operation carrier is an entry attribute or entry property. |
void |
setParserConfig(ParserConfig parser)
Sets the parserConfig attribute of the ConnectorConfig object |
void |
setPublishedInitParams(SchemaConfig schema)
Sets the Published Initialization Parameter Schema for the AssemblyLine |
void |
setSkipLookup(boolean skipLookup)
Sets the Skip Lookup option to the Connector. |
void |
setState(String state)
Sets the state attribute of the ConnectorConfig object |
void |
setupInheritanceChain()
Established the inheritance chain for this object. |
boolean |
supportsSkipLookup()
Checks whether the Connector supports Skip Lookup. |
void |
updateInheritsFrom(String ref)
Sets the name of the object from which this object should inherit its values and calls the setupInheritanceChain to activate the change. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ParserConfig parserConfig
| Constructor Detail |
|---|
public ConnectorConfigImpl()
public ConnectorConfigImpl(Object config)
config - | Method Detail |
|---|
public void init()
throws Exception
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if could not parse or initialize some configuration
public void setupInheritanceChain()
throws Exception
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplException - if the operation could not be performed
public void updateInheritsFrom(String ref)
throws Exception
updateInheritsFrom in interface BaseConfigurationupdateInheritsFrom in class BaseConfigurationImplref - The new inheritsFromRef value
Exception - if the operation does not succeedpublic void setInheritsFromRef(String ref)
setInheritsFromRef in interface BaseConfigurationsetInheritsFromRef in class BaseConfigurationImplref - The new inheritsFromRef valuepublic String getMode()
getMode in interface ConnectorConfigpublic void setMode(String mode)
setMode in interface ConnectorConfigmode - The new mode valuepublic SchemaConfig getSchema(String name)
getSchema in interface ConnectorConfigname - name of the schema
public SchemaConfig getSchema(boolean input)
getSchema in interface ConnectorConfiginput - input if true return Input schema else Output
schema
public DeltaConfig getDeltaConfig()
getDeltaConfig in interface ConnectorConfigpublic PoolDefConfig getPoolDefConfig()
getPoolDefConfig in interface ConnectorConfigpublic PoolInstanceConfig getPoolInstanceConfig()
getPoolInstanceConfig in interface ConnectorConfigpublic String getConnectorScript()
getConnectorScript in interface ConnectorConfigpublic void setConnectorScript(String script)
setConnectorScript in interface ConnectorConfigscript - The new connectorScript valuepublic AttributeMapConfig getAttributeMap(boolean input)
getAttributeMap in interface ConnectorConfiginput - a boolean value specifying whether the input or output
Attribute map to retrieve
public AttributeMapConfig getAttributeMap(Object name)
getAttributeMap in interface ConnectorConfigname - the name of the Attribute map to retrieve
public AttributeMapConfig getAttributeMap()
getAttributeMap in interface ConnectorConfigpublic void setAttributeMap(AttributeMapConfig attributeMap)
setAttributeMap in interface ConnectorConfigattributeMap - The new attributeMap value
public void setAttributeMap(AttributeMapConfig attributeMap,
boolean input)
setAttributeMap in interface ConnectorConfigattributeMap - The new attributeMap valueinput - The new attributeMap valuepublic LinkCriteriaConfig getLinkCriteria()
getLinkCriteria in interface ConnectorConfigpublic void setLinkCriteria(LinkCriteriaConfig linkCriteria)
setLinkCriteria in interface ConnectorConfiglinkCriteria - The new linkCriteria valuepublic HooksConfig getHooks()
getHooks in interface ConnectorConfigpublic RawConnectorConfig getConnectionConfig()
getConnectionConfig in interface ConnectorConfigpublic void setConnectionConfig(RawConnectorConfig rcc)
rcc - new RawConnectorConfig object to setpublic ParserConfig getParserConfig()
ConnectorConfig
getParserConfig in interface ConnectorConfigpublic void setParserConfig(ParserConfig parser)
setParserConfig in interface ConnectorConfigparser - The new parserConfig valuepublic String getState()
getState in interface ConnectorConfigpublic void setState(String state)
setState in interface ConnectorConfigstate - The new statepublic boolean getEnabled()
getEnabled in interface BaseConfigurationgetEnabled in interface ConnectorConfiggetEnabled in class BaseConfigurationImplpublic void setEnabled(boolean enabled)
setEnabled in interface BaseConfigurationsetEnabled in interface ConnectorConfigsetEnabled in class BaseConfigurationImplenabled - true for enabling; false otherwise.public boolean getComputeChanges()
getComputeChanges in interface ConnectorConfigpublic void setComputeChanges(boolean cc)
setComputeChanges in interface ConnectorConfigcc - The compute-change flag to set.public void setSkipLookup(boolean skipLookup)
setSkipLookup in interface ConnectorConfigskipLookup - The new value of the Skip Lookup option.public boolean getSkipLookup()
getSkipLookup in interface ConnectorConfigpublic boolean supportsSkipLookup()
supportsSkipLookup in interface ConnectorConfigpublic CheckpointConfig getCheckpointConfig()
getCheckpointConfig in interface ConnectorConfigpublic SandboxConfig getSandboxConfig()
getSandboxConfig in interface ConnectorConfigpublic int getDeltaBehavior()
getDeltaBehavior in interface ConnectorConfigpublic void setDeltaBehavior(int behavior)
setDeltaBehavior in interface ConnectorConfigpublic boolean getDeltaStrict()
getDeltaStrict in interface ConnectorConfigpublic void setDeltaStrict(boolean strict)
setDeltaStrict in interface ConnectorConfigpublic String getServerOption()
getServerOption in interface ConnectorConfigpublic boolean getReplyRequired()
getReplyRequired in interface ConnectorConfigpublic boolean isEntryFeed()
isEntryFeed in interface ConnectorConfigpublic ContainerConfig getOperations()
getOperations in interface OperationsConfigpublic OperationConfig getOperation(String name)
getOperation in interface OperationsConfig
public OperationConfig createOperation(String name)
throws Exception
createOperation in interface OperationsConfigExceptionpublic String getOperationCarrier()
getOperationCarrier in interface ConnectorConfigpublic void setOperationCarrier(String name)
setOperationCarrier in interface ConnectorConfigpublic boolean getOperationCarrierIsProperty()
getOperationCarrierIsProperty in interface ConnectorConfigpublic void setOperationCarrierIsProperty(boolean isproperty)
setOperationCarrierIsProperty in interface ConnectorConfig
public boolean flatten(List<String> excludedNS)
throws Exception
flatten in interface BaseConfigurationflatten in class BaseConfigurationImplexcludedNS - List of namespaces to exclude from flattening
true if object attempted flattening, FALSE is this
object inherits from an excluded namespace or has no inheritance
Exceptionpublic List<String> getReferences(List<String> list)
getReferences in interface BaseConfigurationgetReferences in class BaseConfigurationImpllist - If non-null, the object must use the provided list rather than
creating its own
public ReconnectConfig getReconnectConfig()
getReconnectConfig in interface ConnectorConfigpublic int getInitializeOption()
getInitializeOption in interface ConnectorConfigpublic void setInitializeOption(int option)
setInitializeOption in interface ConnectorConfig
public Object getClone()
throws Exception
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplExceptionpublic SchemaConfig getPublishedInitParams()
getPublishedInitParams in interface OperationsConfigpublic void setPublishedInitParams(SchemaConfig schema)
setPublishedInitParams in interface OperationsConfigschema - The new schema
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||