|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.function.SystemFunctions
public class SystemFunctions
Method Summary | |
---|---|
static ConnectorConfig |
createRuntimeConnector()
|
static void |
declareUserFunctions(ScriptEngine se)
|
static void |
declareUserFunctions(ScriptEngine se,
RSInterface main)
|
static void |
doNothing()
Do nothing. |
static java.lang.Object |
getClassInstance(java.lang.String className)
|
static RSInterface |
getServer()
Returns the RS instance associated with the current ThreadGroup, or the dummy RSInterface object defined by the Config Editor. |
static AssemblyLineConfig |
loadAssemblyLine(java.lang.String name)
|
static AssemblyLineConfig |
loadAssemblyLine(java.lang.String name,
RSInterface server)
|
static ConnectorInterface |
loadConnector(ConnectorConfig config)
|
static ConnectorInterface |
loadConnector(ConnectorConfig config,
java.lang.Object parentConfig)
|
static ConnectorInterface |
loadConnector(ConnectorConfig config,
java.lang.Object parentConfig,
RSInterface server)
|
static ConnectorInterface |
loadConnector(PropertyStoreConfig psc)
|
static ConnectorInterface |
loadConnector(java.lang.String name)
|
static ConnectorInterface |
loadConnector(java.lang.String name,
RSInterface server)
|
static SearchCriteria |
loadCriteria(java.util.Vector<java.lang.String> m)
|
static FunctionInterface |
loadFunction(FunctionConfig config)
|
static FunctionInterface |
loadFunction(FunctionConfig config,
Log log)
|
static FunctionInterface |
loadFunction(java.lang.String name)
|
static FunctionInterface |
loadFunction(java.lang.String name,
RSInterface server)
|
static ParserInterface |
loadParser(ParserConfig config)
|
static ParserInterface |
loadParser(java.lang.String name)
|
static ParserInterface |
loadParser(java.lang.String name,
RSInterface server)
|
static ScriptConfig |
loadScript(java.lang.String name)
|
static ScriptConfig |
loadScript(java.lang.String name,
RSInterface server)
|
static void |
rotatelog(RSInterface parent,
java.lang.String logfile)
This method renames old logs to be one version older and add current log with version '1'. |
static void |
setServer(RSInterface server)
|
static void |
setSystemProperties(MetamergeConfig mc)
|
static void |
setSystemProperties(MetamergeConfig config,
boolean recursive)
Set system properties from properties object in config. |
static void |
setupSystemConnectorInheritance()
Set up inheritance for system Connectors. |
static java.util.ArrayList<java.lang.String> |
split(java.lang.String str,
java.lang.String sep)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setServer(RSInterface server)
public static RSInterface getServer()
main
object in JavaScript.
RS
instance or null
if it couldn't be found, e.g. because the current Thread was not created by the TDI framework.public static java.util.ArrayList<java.lang.String> split(java.lang.String str, java.lang.String sep)
public static ScriptConfig loadScript(java.lang.String name)
public static ScriptConfig loadScript(java.lang.String name, RSInterface server)
public static AssemblyLineConfig loadAssemblyLine(java.lang.String name)
public static AssemblyLineConfig loadAssemblyLine(java.lang.String name, RSInterface server)
public static ParserInterface loadParser(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static ParserInterface loadParser(java.lang.String name, RSInterface server) throws java.lang.Exception
java.lang.Exception
public static ParserInterface loadParser(ParserConfig config) throws java.lang.Exception
java.lang.Exception
public static ConnectorInterface loadConnector(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static ConnectorInterface loadConnector(java.lang.String name, RSInterface server) throws java.lang.Exception
java.lang.Exception
public static ConnectorInterface loadConnector(PropertyStoreConfig psc) throws java.lang.Exception
java.lang.Exception
public static ConnectorInterface loadConnector(ConnectorConfig config) throws java.lang.Exception
java.lang.Exception
public static ConnectorInterface loadConnector(ConnectorConfig config, java.lang.Object parentConfig) throws java.lang.Exception
java.lang.Exception
public static ConnectorInterface loadConnector(ConnectorConfig config, java.lang.Object parentConfig, RSInterface server) throws java.lang.Exception
java.lang.Exception
public static FunctionInterface loadFunction(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static FunctionInterface loadFunction(java.lang.String name, RSInterface server) throws java.lang.Exception
java.lang.Exception
public static FunctionInterface loadFunction(FunctionConfig config) throws java.lang.Exception
java.lang.Exception
public static FunctionInterface loadFunction(FunctionConfig config, Log log) throws java.lang.Exception
java.lang.Exception
public static SearchCriteria loadCriteria(java.util.Vector<java.lang.String> m) throws java.lang.Exception
java.lang.Exception
public static java.lang.Object getClassInstance(java.lang.String className) throws java.lang.Exception
java.lang.Exception
public static void declareUserFunctions(ScriptEngine se) throws java.lang.Exception
java.lang.Exception
public static void declareUserFunctions(ScriptEngine se, RSInterface main) throws java.lang.Exception
java.lang.Exception
public static void rotatelog(RSInterface parent, java.lang.String logfile) throws java.lang.Exception
Note: If this property is not set, this method will not do anything.
See Also:
Online documentation for help about setting com.ibm.di.server.rotatelogs
property.
parent
- object used for getting the system property -
com.ibm.di.server.rotatelogs.logfile
- current log file
java.lang.Exception
public static ConnectorConfig createRuntimeConnector() throws java.lang.Exception
java.lang.Exception
public static void setSystemProperties(MetamergeConfig config, boolean recursive) throws java.lang.Exception
java.lang.Exception
public static void setSystemProperties(MetamergeConfig mc) throws java.lang.Exception
java.lang.Exception
public static void doNothing()
public static void setupSystemConnectorInheritance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |