org.rhq.plugins.jbossas5.helper
Class InPluginControlActionFacade

java.lang.Object
  extended by org.rhq.plugins.jbossas5.helper.InPluginControlActionFacade
All Implemented Interfaces:
ControlActionFacade

public class InPluginControlActionFacade
extends Object
implements ControlActionFacade

Implementation of the ControlActionFacade that makes direct calls within the AS5 plugin. This implementation does not provide any means for timing out the operation invocation. Ideally, the PluginContainerControlActionFacade will be used, providing all the plugin container framework for the potentially dangerous calls to start/stop the AS5 instance. This implementation circumvents any of the plugin container code in favor of simply reusing the start/stop implementations elsewhere in the plugin.

Author:
Jason Dobies, Ian Springer

Constructor Summary
InPluginControlActionFacade(ApplicationServerComponent serverComponent)
           
 
Method Summary
 boolean isRunning()
           
 OperationServicesResult start()
           
 OperationServicesResult stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InPluginControlActionFacade

public InPluginControlActionFacade(ApplicationServerComponent serverComponent)
Method Detail

start

public OperationServicesResult start()
Specified by:
start in interface ControlActionFacade

stop

public OperationServicesResult stop()
Specified by:
stop in interface ControlActionFacade

isRunning

public boolean isRunning()
Specified by:
isRunning in interface ControlActionFacade


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