public class OMAGServerOperationalInstanceHandler extends OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName| Constructor and Description |
|---|
OMAGServerOperationalInstanceHandler(String serviceName)
Constructor passes the service name that is used on all calls to this instance.
|
| Modifier and Type | Method and Description |
|---|---|
OMAGOperationalServicesInstance |
getServerServiceInstance(String userId,
String serverName,
String serviceOperationName)
Get the object containing the properties for this server.
|
getServerSecurityVerifier, getServiceName, isServerActive, removeServerServiceInstancepublic OMAGServerOperationalInstanceHandler(String serviceName)
serviceName - unique identifier for this service with a human meaningful valuepublic OMAGOperationalServicesInstance getServerServiceInstance(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getServerServiceInstance in class OMAGServerServiceInstanceHandleruserId - calling userserverName - name of this serverserviceOperationName - name of the REST API call (typically the top-level methodName)InvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.PropertyServerException - the service name is not known - indicating a logic errorCopyright © 2018–2019 ODPi. All rights reserved.