|
||||||||||
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.EndLoopComponent
public class EndLoopComponent
This class is used by the Assemblyline to mark the end of a loop
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 | |
---|---|
EndLoopComponent(AssemblyLine parent,
LoopComponent loop)
This constructor is used to insert the EndLoop component in the AL |
Method Summary | |
---|---|
void |
add(Entry meta)
Tells the AssemblyLine to go back to the start of the loop |
void |
close()
Releases resources |
int |
getType()
Return the type of this component |
void |
handleException(String oper,
Throwable e,
Entry meta)
Handles Exceptions by rethrowing them |
void |
initialize()
This method does nothing. |
boolean |
trigger(String oper,
Entry work)
Calls Hooks. |
boolean |
trigger(String oper,
Entry work,
Entry conn)
Calls Hooks. |
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 EndLoopComponent(AssemblyLine parent, LoopComponent loop)
parent
- The AssemblyLine this EndLoopComponent is part ofloop
- The LoopComponent that we endMethod Detail |
---|
public void initialize()
initialize
in class AssemblyLineComponent
public boolean willExecute(Entry work)
willExecute
in class AssemblyLineComponent
work
- The current work Entry
public int getType()
getType
in class AssemblyLineComponent
public void add(Entry meta) throws Exception
add
in class AssemblyLineComponent
meta
- The work Entry. Ignored
Exception
- if we cannot go back to the start of the looppublic void handleException(String oper, Throwable e, Entry meta) throws Exception
handleException
in class AssemblyLineComponent
oper
- Ignorede
- The Throwable that is rethrownmeta
- The work Entry. Ignored
Exception
- epublic boolean trigger(String oper, Entry work, Entry conn)
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
public boolean trigger(String oper, Entry work)
trigger
in class AssemblyLineComponent
oper
- Name of the hook to callwork
- This will be the work bean in the hook
public void close() throws Exception
close
in class AssemblyLineComponent
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |