public interface OperationServices
| Modifier and Type | Method and Description |
|---|---|
OperationServicesResult |
invokeOperation(OperationContext context,
String name,
org.rhq.core.domain.configuration.Configuration operationParameters,
long timeout)
Synchronously invokes an operation on the resource.
|
OperationServicesResult invokeOperation(OperationContext context, String name, org.rhq.core.domain.configuration.Configuration operationParameters, long timeout)
OperationContext. The name of the operation must correspond to an operation
defined in the plugin descriptor for resources of the associated resource's type.context - passed into the OperationFacet at startup, this is used to identify the
resource against which the operation will runname - name of the operation being run; this must be the same name as an operation defined
in the plugin descriptoroperationParameters - any parameters necessary to invoke the operation; these parameters are defined in the
operation definition in the plugin descriptortimeout - time in seconds to wait before cancelling the operation; must be > 0.nullCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.