|
||||||||||
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 BaseConfiguration
init
in class BaseConfigurationImpl
Exception
- if the initialization failspublic void setupInheritanceChain() throws Exception
BaseConfigurationImpl
setupInheritanceChain
in interface BaseConfiguration
setupInheritanceChain
in class BaseConfigurationImpl
Exception
- if the operation does not succeedpublic void updateInheritsFrom(String ref) throws Exception
BaseConfiguration
updateInheritsFrom
in interface BaseConfiguration
updateInheritsFrom
in class BaseConfigurationImpl
ref
- The new inheritsFromRef value
Exception
public void setInheritsFromRef(String ref)
BaseConfiguration
setInheritsFromRef
in interface BaseConfiguration
setInheritsFromRef
in class BaseConfigurationImpl
ref
- The new inheritsFromRef valuepublic String getMode()
ConnectorConfig
getMode
in interface ConnectorConfig
public void setMode(String mode)
ConnectorConfig
setMode
in interface ConnectorConfig
mode
- The new mode valuepublic SchemaConfig getSchema(String name)
getSchema
in interface ConnectorConfig
public SchemaConfig getSchema(boolean input)
getSchema
in interface ConnectorConfig
public DeltaConfig getDeltaConfig()
getDeltaConfig
in interface ConnectorConfig
public PoolDefConfig getPoolDefConfig()
getPoolDefConfig
in interface ConnectorConfig
public PoolInstanceConfig getPoolInstanceConfig()
getPoolInstanceConfig
in interface ConnectorConfig
public String getConnectorScript()
getConnectorScript
in interface ConnectorConfig
public void setConnectorScript(String script)
ConnectorConfig
setConnectorScript
in interface ConnectorConfig
script
- The new connectorScript valuepublic AttributeMapConfig getAttributeMap(boolean input)
getAttributeMap
in interface ConnectorConfig
input
- a boolean value specifying whether the input
or output Attribute map to retrieve
public AttributeMapConfig getAttributeMap(Object name)
ConnectorConfig
getAttributeMap
in interface ConnectorConfig
name
- the name of the Attribute map to retrieve
public AttributeMapConfig getAttributeMap()
ConnectorConfig
getAttributeMap
in interface ConnectorConfig
public void setAttributeMap(AttributeMapConfig attributeMap)
ConnectorConfig
setAttributeMap
in interface ConnectorConfig
attributeMap
- The new attributeMap valuepublic void setAttributeMap(AttributeMapConfig attributeMap, boolean input)
ConnectorConfig
setAttributeMap
in interface ConnectorConfig
attributeMap
- The new attributeMap valueinput
- The new attributeMap valuepublic LinkCriteriaConfig getLinkCriteria()
getLinkCriteria
in interface ConnectorConfig
public void setLinkCriteria(LinkCriteriaConfig linkCriteria)
ConnectorConfig
setLinkCriteria
in interface ConnectorConfig
linkCriteria
- The new linkCriteria valuepublic HooksConfig getHooks()
getHooks
in interface ConnectorConfig
public RawConnectorConfig getConnectionConfig()
getConnectionConfig
in interface ConnectorConfig
public void setConnectionConfig(RawConnectorConfig rcc)
public ParserConfig getParserConfig()
getParserConfig
in interface ConnectorConfig
public void setParserConfig(ParserConfig parser)
ConnectorConfig
setParserConfig
in interface ConnectorConfig
parser
- The new parserConfig valuepublic String getState()
ConnectorConfig
getState
in interface ConnectorConfig
public void setState(String state)
ConnectorConfig
setState
in interface ConnectorConfig
state
- The new statepublic boolean getEnabled()
BaseConfiguration
getEnabled
in interface BaseConfiguration
getEnabled
in interface ConnectorConfig
getEnabled
in class BaseConfigurationImpl
public void setEnabled(boolean enabled)
BaseConfiguration
setEnabled
in interface BaseConfiguration
setEnabled
in interface ConnectorConfig
setEnabled
in class BaseConfigurationImpl
enabled
- The new enabled valuepublic boolean getComputeChanges()
getComputeChanges
in interface ConnectorConfig
public void setComputeChanges(boolean cc)
setComputeChanges
in interface ConnectorConfig
cc
- The compute-change flag to set.public CheckpointConfig getCheckpointConfig()
getCheckpointConfig
in interface ConnectorConfig
public SandboxConfig getSandboxConfig()
getSandboxConfig
in interface ConnectorConfig
public int getDeltaBehavior()
getDeltaBehavior
in interface ConnectorConfig
public void setDeltaBehavior(int behavior)
setDeltaBehavior
in interface ConnectorConfig
public boolean getDeltaStrict()
getDeltaStrict
in interface ConnectorConfig
public void setDeltaStrict(boolean strict)
setDeltaStrict
in interface ConnectorConfig
public String getServerOption()
getServerOption
in interface ConnectorConfig
public boolean getReplyRequired()
getReplyRequired
in interface ConnectorConfig
public boolean isEntryFeed()
isEntryFeed
in interface ConnectorConfig
public ContainerConfig getOperations()
getOperations
in interface OperationsConfig
public OperationConfig getOperation(String name)
getOperation
in interface OperationsConfig
public OperationConfig createOperation(String name) throws Exception
createOperation
in interface OperationsConfig
Exception
public String getOperationCarrier()
getOperationCarrier
in interface ConnectorConfig
public void setOperationCarrier(String name)
setOperationCarrier
in interface ConnectorConfig
public boolean getOperationCarrierIsProperty()
getOperationCarrierIsProperty
in interface ConnectorConfig
public void setOperationCarrierIsProperty(boolean isproperty)
setOperationCarrierIsProperty
in interface ConnectorConfig
public boolean flatten(List excludedNS) throws Exception
BaseConfigurationImpl
flatten
in interface BaseConfiguration
flatten
in class BaseConfigurationImpl
excludedNS
- List of namespaces to exclude from flattening
Exception
public List getReferences(List list)
BaseConfiguration
getReferences
in interface BaseConfiguration
getReferences
in class BaseConfigurationImpl
list
- If non-null, the object must use the provided list rather than creating its ownpublic ReconnectConfig getReconnectConfig()
ConnectorConfig
getReconnectConfig
in interface ConnectorConfig
public int getInitializeOption()
ConnectorConfig
getInitializeOption
in interface ConnectorConfig
public void setInitializeOption(int option)
ConnectorConfig
setInitializeOption
in interface ConnectorConfig
public Object getClone() throws Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
Exception
public SchemaConfig getPublishedInitParams()
OperationsConfig
getPublishedInitParams
in interface OperationsConfig
public void setPublishedInitParams(SchemaConfig schema)
OperationsConfig
setPublishedInitParams
in interface OperationsConfig
schema
- The new schema
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |