|
||||||||||
| 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
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.server.AssemblyLineComponent |
|---|
addmap, CHECKPOINT_GETS, connConfig, connector, connPool, handler, imap, INITIALIZE, log, modmap, name, parent, pooledConnector, restartCycle, reusingConnector, SELECT, stats |
| Constructor Summary | |
|---|---|
AttributeMapComponent(AssemblyLine parent,
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(String oper,
Throwable e,
Entry meta)
Handles any Exception. |
void |
initialize()
This method creates the AttributeMapping for this component |
boolean |
trigger(String oper,
Entry work)
Performs any hook. |
boolean |
trigger(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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeMapComponent(AssemblyLine parent,
String name,
ALMappingConfig config)
throws Exception
parent - The AssemblyLine that contains this AttributeMapComponentname - The name of this componentconfig - The configuration for this component
Exception - Any Exception that might occur| Method Detail |
|---|
public void initialize()
throws Exception
initialize in class AssemblyLineComponentException - Any Exception that might be thrown
public boolean willExecute(Entry work)
throws Exception
willExecute in class AssemblyLineComponentwork - The work Entry
Exception - Any exception thrown by the executed hookpublic ConnectorConfig getConfiguration()
getConfiguration in class AssemblyLineComponentpublic int getType()
getType in class AssemblyLineComponent
public void add(Entry meta)
throws Exception
add in class AssemblyLineComponentmeta - The work Entry
Exception - the component is not initialized or
the underlying Connector raised an error or
some of the user-defined hooks raised an error
public void handleException(String oper,
Throwable e,
Entry meta)
throws Exception
handleException in class AssemblyLineComponentoper - The operation that was performed. Ignorede - The Throwable that was thrownmeta - The work Entry
Exception - Rethrows the Throwable, if necessary wrapped in an Exception
public boolean trigger(String oper,
Entry work,
Entry conn)
trigger in class AssemblyLineComponentoper - The operation that was performedwork - The work Entryconn - The conn Entry
public boolean trigger(String oper,
Entry work)
trigger in class AssemblyLineComponentoper - The operation that was performedwork - The work Entry
public void close()
throws Exception
close in class AssemblyLineComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||