|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.server.AssemblyLineComponent
com.ibm.di.server.AttributeMapComponent
public class AttributeMapComponent
This class is used by the AssemblyLine, it contains a standalone Attribute map
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.ibm.di.server.AssemblyLineComponent |
---|
addmap, CHECKPOINT_GETS, connConfig, connector, connPool, END_OF_DATA, handler, HOOKS_INVOKED, imap, INITIALIZE, initializeCount, LAST_CONN, LAST_ERROR, log, modmap, name, NUM_ADD, NUM_CALLREPLY, NUM_DELETE, NUM_ERRORS, NUM_GET, NUM_GET_TRIES, NUM_GETCLIENT, NUM_GETCLIENT_TRIES, NUM_IGNORED, NUM_LOOKUP, NUM_MODIFY, NUM_NOCHANGE, NUM_SKIPPED, parent, pooledConnector, reusingConnector, SELECT, stats, SUCCESSFUL |
Constructor Summary | |
---|---|
AttributeMapComponent(AssemblyLine parent,
java.lang.String name,
ALMappingConfig config)
Constructor for the AttributeMapComponent object |
Method Summary | |
---|---|
void |
add(Entry meta)
Does the attribute mapping in every cycle |
void |
close()
This method closes the AttributeMapComponent |
ConnectorConfig |
getConfiguration()
Returns the configuration for this component |
int |
getType()
Returns the type of this component |
void |
handleException(java.lang.String oper,
java.lang.Throwable e,
Entry meta)
Handles any Exception. |
void |
initialize()
This method creates the AttributeMapping for this component |
boolean |
trigger(java.lang.String oper,
Entry work)
Performs any hook. |
boolean |
trigger(java.lang.String oper,
Entry work,
Entry conn)
Performs any hook. |
boolean |
willExecute(Entry work)
This method always returns true |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public AttributeMapComponent(AssemblyLine parent, java.lang.String name, ALMappingConfig config) throws java.lang.Exception
parent
- The AssemblyLine that contains this AttributeMapComponentname
- The name of this componentconfig
- The configuration for this component
java.lang.Exception
- Any Exception that might occurMethod Detail |
---|
public void initialize() throws java.lang.Exception
initialize
in class AssemblyLineComponent
java.lang.Exception
- Any Exception that might be thrownpublic boolean willExecute(Entry work) throws java.lang.Exception
willExecute
in class AssemblyLineComponent
work
- The work Entry
java.lang.Exception
- Any exception thrown by the executed hookpublic ConnectorConfig getConfiguration()
getConfiguration
in class AssemblyLineComponent
public int getType()
getType
in class AssemblyLineComponent
public void add(Entry meta) throws java.lang.Exception
add
in class AssemblyLineComponent
meta
- The work Entry
java.lang.Exception
- the component is not initialized or the underlying
Connector raised an error or some of the user-defined
hooks raised an errorpublic void handleException(java.lang.String oper, java.lang.Throwable e, Entry meta) throws java.lang.Exception
handleException
in class AssemblyLineComponent
oper
- The operation that was performed. Ignorede
- The Throwable that was thrownmeta
- The work Entry
java.lang.Exception
- Rethrows the Throwable, if necessary wrapped in an Exceptionpublic boolean trigger(java.lang.String oper, Entry work, Entry conn)
trigger
in class AssemblyLineComponent
oper
- The operation that was performedwork
- The work Entryconn
- The conn Entry
public boolean trigger(java.lang.String oper, Entry work)
trigger
in class AssemblyLineComponent
oper
- The operation that was performedwork
- The work Entry
public void close() throws java.lang.Exception
close
in class AssemblyLineComponent
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |