com.ibm.di.server
Class ControlProcesses

java.lang.Object
  extended by com.ibm.di.server.ControlProcesses

public class ControlProcesses
extends Object


Field Summary
static String AL_LAST_EXIT
           
static String AL_LAST_STARTED
           
static String AL_LAST_STATUS
           
static String AL_NAME
           
static String AL_RUNNING_BOOL
           
static String AL_STATUS
           
static String AL_VALUE_LAST_STATUS_OK
           
static String AL_VALUE_NEVER_EXIT
           
static String AL_VALUE_NEVER_STARTED
           
static String AL_VALUE_RUNNING_FALSE
           
static String AL_VALUE_RUNNING_TRUE
           
static String CONN_ENABLED
           
static String CONN_ENABLED_BOOL
           
static String CONN_MODE
           
static String CONN_NAME
           
static String CONN_PARSER
           
static String CONN_TYPE
           
static String CONN_VALUE_ENABLED_FALSE
           
static String CONN_VALUE_ENABLED_TRUE
           
static String CONN_VALUE_NO_PARSER
           
static String EH_ACTIVE_BOOL
           
static String EH_ENABLED
           
static String EH_ENABLED_BOOL
           
static String EH_IS_CURRENT_THREAD_BOOL
           
static String EH_NAME
           
static String EH_STATUS
           
static String EH_TYPE
           
static String EH_VALUE_ACTIVE_FALSE
           
static String EH_VALUE_ACTIVE_TRUE
           
static String EH_VALUE_BASE_EH
           
static String EH_VALUE_ENABLED_FALSE
           
static String EH_VALUE_ENABLED_TRUE
           
static String SVR_HOST_NAME
           
static String SVR_IP_ADDRESS
           
static String SVR_OPERATING_SYSTEM
           
static String SVR_SERVER_VERSION
           
static String SVR_VALUE_UNKNOWN
           
 
Constructor Summary
ControlProcesses()
           
 
Method Summary
 Vector getAssemblyLineConfiguration(String aAssemblyLineName)
          Given an AssemblyLine's name this method retrieves information about its Connectors.
 Vector getAssemblyLines()
          Retrieves all AssemblyLines along with their status on the server.
 Vector getEventHandlers()
          Retrieves all EventHandlers along with their status on the server.
 Hashtable getServerData()
          Retrieves general properties about the MI Server.
 boolean startAssemblyLine(String aAssemblyLineName)
          Starts an AssemlbyLine given its name.
 boolean startEventHandler(String aEventHandler)
          Starts an startEventHandler given its name.
 void stopAssemblyLine(String aAssemblyLineName)
          Stops an AssemblyLine given its name.
 void stopEventHandler(String aEventHandlerName)
          Stops an EventHandler given its name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AL_NAME

public static final String AL_NAME
See Also:
Constant Field Values

AL_RUNNING_BOOL

public static final String AL_RUNNING_BOOL
See Also:
Constant Field Values

AL_STATUS

public static final String AL_STATUS
See Also:
Constant Field Values

AL_LAST_STARTED

public static final String AL_LAST_STARTED
See Also:
Constant Field Values

AL_LAST_STATUS

public static final String AL_LAST_STATUS
See Also:
Constant Field Values

AL_LAST_EXIT

public static final String AL_LAST_EXIT
See Also:
Constant Field Values

AL_VALUE_RUNNING_TRUE

public static final String AL_VALUE_RUNNING_TRUE
See Also:
Constant Field Values

AL_VALUE_RUNNING_FALSE

public static final String AL_VALUE_RUNNING_FALSE
See Also:
Constant Field Values

AL_VALUE_LAST_STATUS_OK

public static final String AL_VALUE_LAST_STATUS_OK
See Also:
Constant Field Values

AL_VALUE_NEVER_STARTED

public static final String AL_VALUE_NEVER_STARTED
See Also:
Constant Field Values

AL_VALUE_NEVER_EXIT

public static final String AL_VALUE_NEVER_EXIT
See Also:
Constant Field Values

EH_NAME

public static final String EH_NAME
See Also:
Constant Field Values

EH_TYPE

public static final String EH_TYPE
See Also:
Constant Field Values

EH_ACTIVE_BOOL

public static final String EH_ACTIVE_BOOL
See Also:
Constant Field Values

EH_STATUS

public static final String EH_STATUS
See Also:
Constant Field Values

EH_ENABLED_BOOL

public static final String EH_ENABLED_BOOL
See Also:
Constant Field Values

EH_ENABLED

public static final String EH_ENABLED
See Also:
Constant Field Values

EH_IS_CURRENT_THREAD_BOOL

public static final String EH_IS_CURRENT_THREAD_BOOL
See Also:
Constant Field Values

EH_VALUE_BASE_EH

public static final String EH_VALUE_BASE_EH
See Also:
Constant Field Values

EH_VALUE_ACTIVE_TRUE

public static final String EH_VALUE_ACTIVE_TRUE
See Also:
Constant Field Values

EH_VALUE_ACTIVE_FALSE

public static final String EH_VALUE_ACTIVE_FALSE
See Also:
Constant Field Values

EH_VALUE_ENABLED_TRUE

public static final String EH_VALUE_ENABLED_TRUE
See Also:
Constant Field Values

EH_VALUE_ENABLED_FALSE

public static final String EH_VALUE_ENABLED_FALSE
See Also:
Constant Field Values

CONN_NAME

public static final String CONN_NAME
See Also:
Constant Field Values

CONN_ENABLED_BOOL

public static final String CONN_ENABLED_BOOL
See Also:
Constant Field Values

CONN_ENABLED

public static final String CONN_ENABLED
See Also:
Constant Field Values

CONN_MODE

public static final String CONN_MODE
See Also:
Constant Field Values

CONN_TYPE

public static final String CONN_TYPE
See Also:
Constant Field Values

CONN_PARSER

public static final String CONN_PARSER
See Also:
Constant Field Values

CONN_VALUE_ENABLED_TRUE

public static final String CONN_VALUE_ENABLED_TRUE
See Also:
Constant Field Values

CONN_VALUE_ENABLED_FALSE

public static final String CONN_VALUE_ENABLED_FALSE
See Also:
Constant Field Values

CONN_VALUE_NO_PARSER

public static final String CONN_VALUE_NO_PARSER
See Also:
Constant Field Values

SVR_IP_ADDRESS

public static final String SVR_IP_ADDRESS
See Also:
Constant Field Values

SVR_HOST_NAME

public static final String SVR_HOST_NAME
See Also:
Constant Field Values

SVR_OPERATING_SYSTEM

public static final String SVR_OPERATING_SYSTEM
See Also:
Constant Field Values

SVR_SERVER_VERSION

public static final String SVR_SERVER_VERSION
See Also:
Constant Field Values

SVR_VALUE_UNKNOWN

public static final String SVR_VALUE_UNKNOWN
See Also:
Constant Field Values
Constructor Detail

ControlProcesses

public ControlProcesses()
Method Detail

getAssemblyLines

public Vector getAssemblyLines()
Retrieves all AssemblyLines along with their status on the server.

Returns:
Vector which elements are instances of Hashtable. Each element (Hashtable) corresponds to a single AssemlbyLine and contains values for the keys represented by the "AL_" constants.

getEventHandlers

public Vector getEventHandlers()
Retrieves all EventHandlers along with their status on the server.

Returns:
Vector which elements are instances of Hashtable. Each element (Hashtable) corresponds to a single EventHandler and contains values for the keys represented by the "EH_" constants.

stopAssemblyLine

public void stopAssemblyLine(String aAssemblyLineName)
Stops an AssemblyLine given its name. If multiple AssemblyLines possess this name all of them will be stopped.

Parameters:
aAssemblyLineName - The name of the AssemblyLine to be stopped.

stopEventHandler

public void stopEventHandler(String aEventHandlerName)
Stops an EventHandler given its name. If multiple EventHandlers possess this name all of them will be stopped.

Parameters:
aEventHandlerName - The name of the EventHandler to be stopped.

startAssemblyLine

public boolean startAssemblyLine(String aAssemblyLineName)
Starts an AssemlbyLine given its name.

Parameters:
aAssemblyLineName - The name of the AssemlbyLine to be started.
Returns:
"true" if the AssemblyLine has been started successfully; "false" - otherwise.

startEventHandler

public boolean startEventHandler(String aEventHandler)
Starts an startEventHandler given its name.

Parameters:
aEventHandler - The name of the AssemlbyLine to be started.
Returns:
"true" if the AssemblyLine has been started successfully. "false" - otherwise.

getAssemblyLineConfiguration

public Vector getAssemblyLineConfiguration(String aAssemblyLineName)
                                    throws Exception
Given an AssemblyLine's name this method retrieves information about its Connectors.

Parameters:
aAssemblyLineName - The name of the AssemblyLine which configuration will be retrieved.
Returns:
Vector which elements are instances of Hashtable. Each element (Hashtable) corresponds to a single Connector from the AssemblyLine and contains values for the keys represented by the "CONN_" constants.
Throws:
Exception

getServerData

public Hashtable getServerData()
Retrieves general properties about the MI Server.

Returns:
Hashtable which elements contain values for the keys represented by the "SVR_" constants.