public class EmbeddedHandles
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
cleanQueues() |
static EmbeddedHandle |
getHandle(java.lang.String handleId) |
static EmbeddedServiceHandle |
getService(java.lang.String serviceId) |
static boolean |
isServiceRunning(java.lang.String serviceId) |
static boolean |
isToolRunning(java.lang.String handleId) |
static void |
registerHandle(java.lang.String handleId,
EmbeddedHandle ihandle) |
static void |
registerService(java.lang.String handleId,
java.lang.String serviceId,
EmbeddedServiceHandle ihandle) |
static void |
unRegister(java.lang.String handleId)
Unregister (remove) the registered Handle.
|
public static void registerHandle(java.lang.String handleId, EmbeddedHandle ihandle) throws java.lang.IllegalArgumentException, SAFSException
handleId
- -- unique name for registering the Handleihandle
- -- unique Handle object to be registered.java.lang.IllegalArgumentException
- - if null parameters are providedSAFSException
- -- if the handle is already registered.public static void registerService(java.lang.String handleId, java.lang.String serviceId, EmbeddedServiceHandle ihandle) throws java.lang.IllegalArgumentException, SAFSException
handleId
- -- unique name for registering the Handleihandle
- -- unique Handle object to be registered.java.lang.IllegalArgumentException
- - if null parameters are providedSAFSException
- -- if the handle is already registered.public static void unRegister(java.lang.String handleId)
handleId
- public static EmbeddedHandle getHandle(java.lang.String handleId) throws java.lang.IllegalArgumentException
handleId
- java.lang.IllegalArgumentException
- -- if the id provided is NOT for a registered Handle.public static EmbeddedServiceHandle getService(java.lang.String serviceId) throws java.lang.IllegalArgumentException
serviceId
- java.lang.IllegalArgumentException
- -- if the id provided is null or is NOT for a registered Service.public static boolean isToolRunning(java.lang.String handleId)
handleId
- -- of the client/service sought.public static boolean isServiceRunning(java.lang.String serviceId)
serviceId
- -- of the service sought.public static boolean cleanQueues()
Copyright © SAS Institute. All Rights Reserved.