|
||||||||||
| 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
| Field Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
ConnectorConfigImpl()
|
|
ConnectorConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
OperationConfig |
createOperation(String name)
This method creates a new operation object. |
boolean |
flatten(List excludedNS)
flatten - combines all values from this object and its inherited objects into one single config object. |
AttributeMapConfig |
getAttributeMap()
Attribute Maps |
AttributeMapConfig |
getAttributeMap(boolean input)
Attribute Maps |
AttributeMapConfig |
getAttributeMap(Object name)
Gets the attributeMap attribute of the ConnectorConfig object |
CheckpointConfig |
getCheckpointConfig()
Returns the CheckpointInfo object |
Object |
getClone()
Return self clone |
boolean |
getComputeChanges()
Returns the compute-changes flag for Update mode connector. |
RawConnectorConfig |
getConnectionConfig()
Connector driver parameters |
String |
getConnectorScript()
Script Connector |
int |
getDeltaBehavior()
Returns true if the connector uses delta behavior |
DeltaConfig |
getDeltaConfig()
Delta configuration |
boolean |
getDeltaStrict()
Returns the delta strict flag |
boolean |
getEnabled()
Gets the enabled attribute of the BaseConfiguration object |
HooksConfig |
getHooks()
Hooks |
int |
getInitializeOption()
This method returns the initialization option for the component |
LinkCriteriaConfig |
getLinkCriteria()
Link Criteria |
String |
getMode()
Connector mode |
OperationConfig |
getOperation(String name)
This method returns the config for a given operation |
String |
getOperationCarrier()
This method returns the name of the operation carrier |
boolean |
getOperationCarrierIsProperty()
This method returns whether the operation carrier is an entry attribute or entry property |
ContainerConfig |
getOperations()
This method returns a list of supported operations |
ParserConfig |
getParserConfig()
Associated Parser configuration |
PoolDefConfig |
getPoolDefConfig()
Connector Pool Definition |
PoolInstanceConfig |
getPoolInstanceConfig()
Connector Pool Instance |
SchemaConfig |
getPublishedInitParams()
Returns the Published Initialization Parameter Schema for the AssemblyLine |
ReconnectConfig |
getReconnectConfig()
Returns the reconnect config |
List |
getReferences(List list)
Returns a list of all references to other object from which this object or its children inherit from. |
boolean |
getReplyRequired()
Returns true if the connector requires a response in server or iterator mode. |
SandboxConfig |
getSandboxConfig()
Returns the Sandbox object |
SchemaConfig |
getSchema(boolean input)
Connector abstract schema |
SchemaConfig |
getSchema(String name)
Connector abstract schema |
String |
getServerOption()
Returns the server option (entry or connector) that determines whether the connector returns a connector instance or an entry in server mode. |
String |
getState()
State (typically used in the AssemblyLine) |
void |
init()
init - method called after internal data structure is set |
boolean |
isEntryFeed()
Returns true if the connector is an entry feed connector |
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)
|
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)
Gets the enabled attribute of the BaseConfiguration 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 |
setState(String state)
Sets the state attribute of the ConnectorConfig object |
void |
setupInheritanceChain()
Established the inheritance chain for this object. |
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 |
| Constructor Detail |
|---|
public ConnectorConfigImpl()
public ConnectorConfigImpl(Object config)
| Method Detail |
|---|
public void init()
throws Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if the initialization fails
public void setupInheritanceChain()
throws Exception
BaseConfigurationImpl
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplException - if the operation does not succeed
public void updateInheritsFrom(String ref)
throws Exception
BaseConfiguration
updateInheritsFrom in interface BaseConfigurationupdateInheritsFrom in class BaseConfigurationImplref - The new inheritsFromRef value
Exceptionpublic void setInheritsFromRef(String ref)
BaseConfiguration
setInheritsFromRef in interface BaseConfigurationsetInheritsFromRef in class BaseConfigurationImplref - The new inheritsFromRef valuepublic String getMode()
ConnectorConfig
getMode in interface ConnectorConfigpublic void setMode(String mode)
ConnectorConfig
setMode in interface ConnectorConfigmode - The new mode valuepublic SchemaConfig getSchema(String name)
getSchema in interface ConnectorConfigpublic SchemaConfig getSchema(boolean input)
getSchema in interface ConnectorConfigpublic 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)
ConnectorConfig
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)
ConnectorConfig
getAttributeMap in interface ConnectorConfigname - the name of the Attribute map to retrieve
public AttributeMapConfig getAttributeMap()
ConnectorConfig
getAttributeMap in interface ConnectorConfigpublic void setAttributeMap(AttributeMapConfig attributeMap)
ConnectorConfig
setAttributeMap in interface ConnectorConfigattributeMap - The new attributeMap value
public void setAttributeMap(AttributeMapConfig attributeMap,
boolean input)
ConnectorConfig
setAttributeMap in interface ConnectorConfigattributeMap - The new attributeMap valueinput - The new attributeMap valuepublic LinkCriteriaConfig getLinkCriteria()
getLinkCriteria in interface ConnectorConfigpublic void setLinkCriteria(LinkCriteriaConfig linkCriteria)
ConnectorConfig
setLinkCriteria in interface ConnectorConfiglinkCriteria - The new linkCriteria valuepublic HooksConfig getHooks()
getHooks in interface ConnectorConfigpublic RawConnectorConfig getConnectionConfig()
getConnectionConfig in interface ConnectorConfigpublic void setConnectionConfig(RawConnectorConfig rcc)
public ParserConfig getParserConfig()
getParserConfig in interface ConnectorConfigpublic void setParserConfig(ParserConfig parser)
ConnectorConfig
setParserConfig in interface ConnectorConfigparser - The new parserConfig valuepublic String getState()
ConnectorConfig
getState in interface ConnectorConfigpublic void setState(String state)
ConnectorConfig
setState in interface ConnectorConfigstate - The new statepublic boolean getEnabled()
BaseConfiguration
getEnabled in interface BaseConfigurationgetEnabled in interface ConnectorConfiggetEnabled in class BaseConfigurationImplpublic void setEnabled(boolean enabled)
BaseConfiguration
setEnabled in interface BaseConfigurationsetEnabled in interface ConnectorConfigsetEnabled in class BaseConfigurationImplenabled - The new enabled valuepublic boolean getComputeChanges()
getComputeChanges in interface ConnectorConfigpublic void setComputeChanges(boolean cc)
setComputeChanges in interface ConnectorConfigcc - The compute-change flag to set.public 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 excludedNS)
throws Exception
BaseConfigurationImpl
flatten in interface BaseConfigurationflatten in class BaseConfigurationImplexcludedNS - List of namespaces to exclude from flattening
Exceptionpublic List getReferences(List list)
BaseConfiguration
getReferences in interface BaseConfigurationgetReferences in class BaseConfigurationImpllist - If non-null, the object must use the provided list rather than creating its ownpublic ReconnectConfig getReconnectConfig()
ConnectorConfig
getReconnectConfig in interface ConnectorConfigpublic int getInitializeOption()
ConnectorConfig
getInitializeOption in interface ConnectorConfigpublic void setInitializeOption(int option)
ConnectorConfig
setInitializeOption in interface ConnectorConfig
public Object getClone()
throws Exception
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplExceptionpublic SchemaConfig getPublishedInitParams()
OperationsConfig
getPublishedInitParams in interface OperationsConfigpublic void setPublishedInitParams(SchemaConfig schema)
OperationsConfig
setPublishedInitParams in interface OperationsConfigschema - The new schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||