org.rhq.core.pc.operation
Class OperationServicesAdapter
java.lang.Object
org.rhq.core.pc.operation.OperationServicesAdapter
- All Implemented Interfaces:
- OperationServerService, OperationServices
public class OperationServicesAdapter
- extends Object
- implements OperationServices, OperationServerService
Bridge between the plugin's calls back into the PC from an agent-side plugin and the OperationManager itself.
- Author:
- Jason Dobies
|
Method Summary |
OperationServicesResult |
invokeOperation(OperationContext context,
String operationName,
org.rhq.core.domain.configuration.Configuration operationParameters,
long timeout)
|
void |
operationFailed(String jobId,
org.rhq.core.domain.configuration.Configuration result,
org.rhq.core.util.exception.ExceptionPackage error,
long invocationTime,
long completionTime)
|
void |
operationSucceeded(String jobId,
org.rhq.core.domain.configuration.Configuration result,
long invocationTime,
long completionTime)
|
void |
operationTimedOut(String jobId,
long invocationTime,
long timeoutTime)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationServicesAdapter
public OperationServicesAdapter(OperationManager operationManager)
invokeOperation
public OperationServicesResult invokeOperation(OperationContext context,
String operationName,
org.rhq.core.domain.configuration.Configuration operationParameters,
long timeout)
- Specified by:
invokeOperation in interface OperationServices
operationSucceeded
public void operationSucceeded(String jobId,
org.rhq.core.domain.configuration.Configuration result,
long invocationTime,
long completionTime)
- Specified by:
operationSucceeded in interface OperationServerService
operationFailed
public void operationFailed(String jobId,
org.rhq.core.domain.configuration.Configuration result,
org.rhq.core.util.exception.ExceptionPackage error,
long invocationTime,
long completionTime)
- Specified by:
operationFailed in interface OperationServerService
operationTimedOut
public void operationTimedOut(String jobId,
long invocationTime,
long timeoutTime)
- Specified by:
operationTimedOut in interface OperationServerService
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.