|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.api.jmx.mbeans.BaseAdmin
com.ibm.di.api.jmx.mbeans.AssemblyLineHandler
public class AssemblyLineHandler
This class implements several methods to handle an AssemblyLine.
| Field Summary | |
|---|---|
static String |
MBEAN_TYPE
Type of the MBean. |
| Constructor Summary | |
|---|---|
AssemblyLineHandler(AssemblyLineHandler aALHandler)
Class constructor |
|
| Method Summary | |
|---|---|
void |
close()
Closes the Assembly LineHandler MBean. |
Entry |
executeCycle()
Executes an AssemblyLine cycle with null work Entry attribute. |
Entry |
executeCycle(Entry aEntry)
Executes an AssemblyLine cycle. |
Entry |
executeCycle(Entry aEntry,
Boolean aProcessTCB)
Executes an AssemblyLine cycle. |
static ObjectName |
genObjectName(String aName,
int aUniqueCode)
Generates object name for specified assembly line handler. |
ObjectName |
getAssemblyLine()
Returns an ObjectName generated from the AssemblyLine’s name and AssemblyLine’s unique code. |
String |
getId()
Reads attribute "Id". |
String |
getType()
Reads attribute "Type". |
| Methods inherited from class com.ibm.di.api.jmx.mbeans.BaseAdmin |
|---|
getCurrentUserId, getKeyPropertyList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MBEAN_TYPE
| Constructor Detail |
|---|
public AssemblyLineHandler(AssemblyLineHandler aALHandler)
throws DIException
aALHandler - com.ibm.di.api.local.AssemblyLineHandler
DIException| Method Detail |
|---|
public String getType()
getType() and getId() are used in a common
schema for object names for all MBeans in the management package. The key
properties part of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId(), for example
"type=AssemblyLine,id=Hello".
getType in interface BaseMBeanpublic String getId()
getType() and getId() are used in a common
schema for object names for all MBeans in the management package. The key
properties part of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId(), for example
"type=AssemblyLine,id=Hello".
getId in interface BaseMBean
public ObjectName getAssemblyLine()
throws DIException
getAssemblyLine in interface AssemblyLineHandlerMBeanDIException - if an error occurs while getting the AssemblyLine’s
ObjectName.
public Entry executeCycle(Entry aEntry,
Boolean aProcessTCB)
throws DIException
executeCycle in interface AssemblyLineHandlerMBeanaEntry - the work entry to use, or null to use an empty work
entry/iterator entry.aProcessTCB - if true, the AL's call/return attribute maps are applied to
the provided entry and returned entry.
DIException - if an error occurs while executing the AssemblyLine.
public Entry executeCycle(Entry aEntry)
throws DIException
executeCycle in interface AssemblyLineHandlerMBeanaEntry - the work entry to use, or null to use an empty work
entry/iterator entry.
DIException - if an error occurs while executing the AssemblyLine.
public Entry executeCycle()
throws DIException
executeCycle in interface AssemblyLineHandlerMBeanDIException - if an error occurs while executing the AssemblyLine.
public void close()
throws DIException
close in interface AssemblyLineHandlerMBeanDIException - if error occurs while closing the MBean.
public static ObjectName genObjectName(String aName,
int aUniqueCode)
throws DIException
aName - the name of the assembly line handler.aUniqueCode - unique code used for building the AssemblyLineHandler MBean
id.
DIException - if error occurs while creating AssemblyLineHandler JMX object
name.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||