Inject operations
The inject operations are defined in the interface com.apama.engine.beans.interfaces.InjectOperationsInterface.
These are implemented in com.apama.engine.beans.EngineClientBean.
The inject operations are:
void injectCDP(byte[] cdpBytes) - Send the bytes of a CDP(Correlator Deployment Package) to the engine without blocking concurrent calls to operations on this bean instance.
void injectCDP(byte[] cdpBytes, String filename) - Send the bytes of a CDP(Correlator Deployment Package) to the engine without blocking concurrent calls to operations on this bean instance.
void injectCDPsFromFile(java.util.List<java.lang.String> filenames) - Inject one or more CDPs from one or more files or
stdin.
void injectJavaApplication(byte[] jarBytes) - Inject the bytes of a Java in-process API (JMON) application (
.jar file) into the remote correlator.
void injectJavaApplicationsFromFile(java.util.List<java.lang.String> filenames) - Inject a number of JMon application(s) from one or more files or
stdin.
void injectMonitorScript(MonitorScript script) - Inject a
MonitorScript object into the remote correlator. A
MonitorScript object encapsulates an EPL code fragment that contains package, event and monitor definitions to be injected into a correlator.
void injectMonitorScriptFromFile(java.util.List<java.lang.String> filenames) - Inject a number of monitors from one or more files or
stdin.
void setCancelInjectFileRead(boolean newCancelFileReadValue) - Sets the “
cancelFileRead” property for the inject operations. The purpose of the “
cancelFileRead” property is to provide a mechanism to cleanly terminate the injection of EPL code from file(s), while the
injectMonitorScriptFromFile() method is in progress. When “
cancelFileRead” is set to
true, the EPL injecting loop terminates at the next iteration