|
||||||||||
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 RSInterface
name
- Name of subsection or null
public MetamergeConfig getMetamergeConfig()
RSInterface
getMetamergeConfig
in interface RSInterface
public void setMetamergeConfig(MetamergeConfig config)
RSInterface
setMetamergeConfig
in interface RSInterface
config
- The configuration object to assign to the instance.public AssemblyLineConfig getTask(String name)
getTask
in interface RSInterface
name
- The AssemblyLine name
public ConnectorConfig getConnector(String name)
getConnector
in interface RSInterface
name
- The connector name
public EventHandlerConfig getTrigger(String name)
getTrigger
in interface RSInterface
name
- The EventHandler name
public Object getLibrary(String name)
getLibrary
in interface RSInterface
name
- The java library name
public LibraryConfig getLibraries()
getLibraries
in interface RSInterface
public ParserConfig getParser(String name)
getParser
in interface RSInterface
name
- The parser name
public ScriptConfig getScript(String name)
getScript
in interface RSInterface
name
- The script library name
public AttributeMapConfig getAttributeMap(String name)
getAttributeMap
in interface RSInterface
name
- The connector name
public FunctionConfig getFunction(String name) throws Exception
getFunction
in interface RSInterface
name
- The name of the function
Exception
public String getSysProp(String name)
getSysProp
in interface RSInterface
name
- The system property name
public void persistConfiguration() throws Exception
persistConfiguration
in interface RSInterface
Exception
public void logmsg(String msg)
logmsg
in interface RSInterface
msg
- The message to logpublic void logmsg(String level, String msg)
logmsg
in interface RSInterface
level
- Loglevel.msg
- The messagepublic void dump(Object o)
dump
in interface RSInterface
o
- The object to dumpdumpEntry(com.ibm.di.entry.Entry)
public void dumpEntry(Entry e)
dumpEntry
in interface RSInterface
e
- The Entry object to dumpEntry
public AssemblyLine restartAL(String assemblyLine, String restartID) throws Exception
restartAL
in interface RSInterface
assemblyLine
- The name identifying the AssemblyLine to startrestartID
- The checkpoint identifier
Exception
public AssemblyLine startAL(String assemblyLine) throws Exception
RSInterface
startAL
in interface RSInterface
assemblyLine
- The name identifying the AssemblyLine to start
Exception
public AssemblyLine startAL(String assemblyLine, Object io) throws Exception
startAL
in interface RSInterface
assemblyLine
- 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 RSInterface
assemblyLine
- 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 RSInterface
name
- The EventHandler namecheckEnabled
- If false, the autoStart flag is overridden
Exception
public void reload() throws Exception
reload
in interface RSInterface
Exception
public String getConfigPath()
getConfigPath
in interface RSInterface
public void setConfigPath(String path)
setConfigPath
in interface RSInterface
path
- The new configuration pathpublic void shutdownServer()
shutdownServer
in interface RSInterface
public void shutdownServer(int aExitCode)
shutdownServer
in interface RSInterface
public String getNullBehavior()
getNullBehavior
in interface RSInterface
public String getNullBehaviorValue()
getNullBehaviorValue
in interface RSInterface
public String getNullDefinition()
getNullDefinition
in interface RSInterface
public String getNullDefinitionValue()
getNullDefinitionValue
in interface RSInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |