|
||||||||||
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 java.lang.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,
java.lang.Boolean aProcessTCB)
Executes an AssemblyLine cycle. |
static javax.management.ObjectName |
genObjectName(java.lang.String aName,
int aUniqueCode)
Generates object name for specified assembly line handler. |
javax.management.ObjectName |
getAssemblyLine()
Returns an ObjectName generated from the AssemblyLine’s name and AssemblyLine’s unique code. |
java.lang.String |
getId()
Reads attribute "Id". |
java.lang.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 java.lang.String MBEAN_TYPE
Constructor Detail |
---|
public AssemblyLineHandler(AssemblyLineHandler aALHandler) throws DIException
aALHandler
- com.ibm.di.api.local.AssemblyLineHandler
DIException
Method Detail |
---|
public java.lang.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 BaseMBean
public java.lang.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 javax.management.ObjectName getAssemblyLine() throws DIException
getAssemblyLine
in interface AssemblyLineHandlerMBean
DIException
- if an error occurs while getting the AssemblyLine’s
ObjectName.public Entry executeCycle(Entry aEntry, java.lang.Boolean aProcessTCB) throws DIException
executeCycle
in interface AssemblyLineHandlerMBean
aEntry
- 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 AssemblyLineHandlerMBean
aEntry
- 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 AssemblyLineHandlerMBean
DIException
- if an error occurs while executing the AssemblyLine.public void close() throws DIException
close
in interface AssemblyLineHandlerMBean
DIException
- if error occurs while closing the MBean.public static javax.management.ObjectName genObjectName(java.lang.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 |