|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.admin.RSInterfaceProxy
public class RSInterfaceProxy
| Field Summary | |
|---|---|
MetamergeConfig |
mc
|
| Constructor Summary | |
|---|---|
RSInterfaceProxy()
|
|
| Method Summary | |
|---|---|
void |
dump(Object o)
Dumps the class and contents of an object to the log. |
void |
dumpEntry(Entry e)
Dumps the contents of an Entry to the log. |
AttributeMapConfig |
getAttributeMap(String name)
Returns the the "Attribute Map" entry for a named connector |
String |
getConfigPath()
This method returns the current configuration file path |
Object |
getConfiguration(String name)
Returns the entire table or a sub-section of the configuration file. |
ConnectorConfig |
getConnector(String name)
Returns the the "Connector" entry for name |
FunctionConfig |
getFunction(String name)
Returns the "FunctionConfig" entry for name |
LibraryConfig |
getLibraries()
Returns all "Libraries" |
Object |
getLibrary(String name)
Returns the the "Java Library" entry for name |
MetamergeConfig |
getMetamergeConfig()
Returns the config object for this instance. |
String |
getNullBehavior()
Return the null behavior value from the System.props |
String |
getNullBehaviorValue()
|
String |
getNullDefinition()
Return the null definition from the System.props |
String |
getNullDefinitionValue()
|
ParserConfig |
getParser(String name)
Returns the the "Parser" entry for name |
ScriptConfig |
getScript(String name)
Returns the the "Script Library" entry for name |
String |
getSysProp(String name)
Returns the value for a system property. |
AssemblyLineConfig |
getTask(String name)
Returns the "AssemblyLine" entry |
EventHandlerConfig |
getTrigger(String name)
Returns the "EventHandler" entry |
static void |
init(MetamergeConfig config)
|
void |
logmsg(String msg)
Writes a message to the system log file |
void |
logmsg(String level,
String msg)
This method logs a message with the specified level to the system log. |
void |
persistConfiguration()
This method saves the current configuration to disk. |
void |
reload()
This method reloads the configuration file. |
AssemblyLine |
restartAL(String assemblyLine,
String restartID)
Start the AssemblyLine given by the parameter. |
void |
setConfigPath(String path)
This method sets the current configuration file path. |
void |
setMetamergeConfig(MetamergeConfig config)
Sets the given configuration to this instance. |
void |
shutdownServer()
Set the shutdown request flag |
void |
shutdownServer(int aExitCode)
Set the shutdown request flag and specifies exit code |
AssemblyLine |
startAL(String assemblyLine)
Start the AssemblyLine given by the parameter. |
AssemblyLine |
startAL(String assemblyLine,
Connector connector,
Entry work)
Start the AssemblyLine given by the parameter. |
AssemblyLine |
startAL(String assemblyLine,
Object io)
Start the AssemblyLine given by the parameter. |
Object |
startEventTrigger(String name,
boolean checkEnabled)
This method starts an EventHandler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MetamergeConfig mc
| Constructor Detail |
|---|
public RSInterfaceProxy()
| Method Detail |
|---|
public static void init(MetamergeConfig config)
public Object getConfiguration(String name)
getConfiguration in interface RSInterfacename - Name of subsection or null
public MetamergeConfig getMetamergeConfig()
RSInterface
getMetamergeConfig in interface RSInterfacepublic void setMetamergeConfig(MetamergeConfig config)
RSInterface
setMetamergeConfig in interface RSInterfaceconfig - The configuration object to assign to the instance.public AssemblyLineConfig getTask(String name)
getTask in interface RSInterfacename - The AssemblyLine name
public ConnectorConfig getConnector(String name)
getConnector in interface RSInterfacename - The connector name
public EventHandlerConfig getTrigger(String name)
getTrigger in interface RSInterfacename - The EventHandler name
public Object getLibrary(String name)
getLibrary in interface RSInterfacename - The java library name
public LibraryConfig getLibraries()
getLibraries in interface RSInterfacepublic ParserConfig getParser(String name)
getParser in interface RSInterfacename - The parser name
public ScriptConfig getScript(String name)
getScript in interface RSInterfacename - The script library name
public AttributeMapConfig getAttributeMap(String name)
getAttributeMap in interface RSInterfacename - The connector name
public FunctionConfig getFunction(String name)
throws Exception
getFunction in interface RSInterfacename - The name of the function
Exceptionpublic String getSysProp(String name)
getSysProp in interface RSInterfacename - The system property name
public void persistConfiguration()
throws Exception
persistConfiguration in interface RSInterfaceExceptionpublic void logmsg(String msg)
logmsg in interface RSInterfacemsg - The message to log
public void logmsg(String level,
String msg)
logmsg in interface RSInterfacelevel - Loglevel.msg - The messagepublic void dump(Object o)
dump in interface RSInterfaceo - The object to dumpdumpEntry(com.ibm.di.entry.Entry)public void dumpEntry(Entry e)
dumpEntry in interface RSInterfacee - The Entry object to dumpEntry
public AssemblyLine restartAL(String assemblyLine,
String restartID)
throws Exception
restartAL in interface RSInterfaceassemblyLine - The name identifying the AssemblyLine to startrestartID - The checkpoint identifier
Exception
public AssemblyLine startAL(String assemblyLine)
throws Exception
RSInterface
startAL in interface RSInterfaceassemblyLine - The name identifying the AssemblyLine to start
Exception
public AssemblyLine startAL(String assemblyLine,
Object io)
throws Exception
startAL in interface RSInterfaceassemblyLine - The name identifying the AssemblyLine to startio - This Object could either beException
public AssemblyLine startAL(String assemblyLine,
Connector connector,
Entry work)
throws Exception
startAL in interface RSInterfaceassemblyLine - The name identifying the AssemblyLine to startconnector - The runtime-provided Connectorwork - The initial work entry
Exception
public Object startEventTrigger(String name,
boolean checkEnabled)
throws Exception
startEventTrigger in interface RSInterfacename - The EventHandler namecheckEnabled - If false, the autoStart flag is overridden
Exception
public void reload()
throws Exception
reload in interface RSInterfaceExceptionpublic String getConfigPath()
getConfigPath in interface RSInterfacepublic void setConfigPath(String path)
setConfigPath in interface RSInterfacepath - The new configuration pathpublic void shutdownServer()
shutdownServer in interface RSInterfacepublic void shutdownServer(int aExitCode)
shutdownServer in interface RSInterfacepublic String getNullBehavior()
getNullBehavior in interface RSInterfacepublic String getNullBehaviorValue()
getNullBehaviorValue in interface RSInterfacepublic String getNullDefinition()
getNullDefinition in interface RSInterfacepublic String getNullDefinitionValue()
getNullDefinitionValue in interface RSInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||