|
||||||||||
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.ReplyChannelComponent
public class ReplyChannelComponent
Field Summary |
---|
Fields inherited from class com.ibm.di.server.AssemblyLineComponent |
---|
addmap, CHECKPOINT_GETS, config, connConfig, connector, connPool, handler, imap, INITIALIZE, log, modmap, name, parent, pooledConnector, restartCycle, reusingConnector, SELECT, stats |
Constructor Summary | |
---|---|
ReplyChannelComponent(AssemblyLineComponent comp)
|
|
ReplyChannelComponent(ConnectorConfig config)
|
Method Summary | |
---|---|
ConnectorConfig |
getConfiguration()
This method returns the Connector configuration |
String |
getName()
This method returns the name assigned to the Connector by the AssemblyLine, followed by ".reply" |
int |
getType()
This method returns the mode in which we are executing (e.g. |
void |
reply(Entry meta)
This method implements the AddOnly mode operation. |
boolean |
trigger(String oper,
Entry work)
Calls the hook named oper, declaring work as the corresponding bean. |
boolean |
trigger(String oper,
Entry work,
Entry conn)
Calls the hook named oper, declaring work and conn as the corresponding beans. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplyChannelComponent(ConnectorConfig config)
public ReplyChannelComponent(AssemblyLineComponent comp)
Method Detail |
---|
public int getType()
AssemblyLineComponent
getType
in class AssemblyLineComponent
public ConnectorConfig getConfiguration()
AssemblyLineComponent
getConfiguration
in class AssemblyLineComponent
public void reply(Entry meta) throws Exception
reply
in class AssemblyLineComponent
meta
- The work entry to add
Exception
- the underlying AssemblyLineComponent is missing or
raised an errorpublic boolean trigger(String oper, Entry work, Entry conn) throws Exception
trigger
in class AssemblyLineComponent
oper
- Name of the hook to callwork
- This will be the work bean in the hookconn
- This will be the conn bean in the hook
Exception
- Any exception thrown by the execution of the hookpublic boolean trigger(String oper, Entry work) throws Exception
trigger
in class AssemblyLineComponent
oper
- Name of the hook to callwork
- This will be the work bean in the hook
Exception
- Any exception thrown by the execution of the hookpublic String getName()
getName
in class AssemblyLineComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |