org.rhq.plugins.jbossas
Class JBossASServerOperationsDelegate

java.lang.Object
  extended by org.rhq.plugins.jbossas.JBossASServerOperationsDelegate

public class JBossASServerOperationsDelegate
extends Object

Handles performing operations on a JBossAS instance.

Author:
Ian Springer, Jason Dobies, Jay Shaughnessy

Constructor Summary
JBossASServerOperationsDelegate(JBossASServerComponent serverComponent, SystemInfo systemInfo)
           
 
Method Summary
 OperationResult invoke(JBossASServerSupportedOperations operation, org.rhq.core.domain.configuration.Configuration parameters)
          Performs the specified operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossASServerOperationsDelegate

public JBossASServerOperationsDelegate(JBossASServerComponent serverComponent,
                                       SystemInfo systemInfo)
Method Detail

invoke

public OperationResult invoke(JBossASServerSupportedOperations operation,
                              org.rhq.core.domain.configuration.Configuration parameters)
                       throws InterruptedException
Performs the specified operation. The result of the operation will be indicated in the return. If there is an error, an RuntimeException will be thrown.

Parameters:
operation - the operation to perform
parameters - parameters to the operation call
Returns:
if successful, the result object will contain a success message
Throws:
RuntimeException - if any errors occur while trying to perform the operation
InterruptedException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.