public class STAFHelperCompatible3 extends AbstractSTAFHelperCompatible
Contains the specific implementation related to STAF3.
Be careful to import this class into other class or use the static methods
of this class in other class, which will cause the backward compatibility problem.
To get an instance of this class, use AbstractSTAFHelperCompatible.getCompatibleSTAF(int).
stafSTAF2_CLASS_NAME, STAF3_CLASS_NAME| Constructor and Description |
|---|
STAFHelperCompatible3() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection |
getRunningEngineNames(java.lang.String machine)
Get collection of running Engine names.
|
java.util.List<java.lang.String> |
getServiceEvents(java.lang.String machine,
java.lang.String servicename)
According to the service name, we try to get all events related to it.
|
static com.ibm.staf.STAFMarshallingContext |
getUnMarshallResult(java.lang.String result)
From STAF3.3, the result returned from submit will be marshaled String.
We need to un-marshal it to get the structure for human to understand. The returned structure STAFMarshallingContext need to be parsed. |
static java.lang.String |
getUnMarshallStringResult(java.lang.String result)
From STAF3.3, the result returned from submit will be marshalled String.
We need to un-marshal it to get the string for humain to understand. #submit(String, String, String) and #submit2(String, String, String) mayneed to call this method to get the human-understood string. |
getCompatibleSTAF, setSTAFHelperpublic static com.ibm.staf.STAFMarshallingContext getUnMarshallResult(java.lang.String result)
result - #submit(String, String, String)public static java.lang.String getUnMarshallStringResult(java.lang.String result)
#submit(String, String, String) and #submit2(String, String, String) mayresult - #submit(String, String, String)public java.util.List<java.lang.String> getServiceEvents(java.lang.String machine,
java.lang.String servicename)
throws SAFSException
STAFHelperCompatibleInterfaceservicename - String, the service we want to get events forSAFSExceptionpublic java.util.Collection getRunningEngineNames(java.lang.String machine)
throws SAFSException
SAFSExceptionCopyright © SAS Institute. All Rights Reserved.