org.rhq.plugins.agent
Class AgentLauncherScriptComponent

java.lang.Object
  extended by org.rhq.plugins.agent.AgentLauncherScriptComponent
All Implemented Interfaces:
AvailabilityFacet, ResourceComponent<AgentServerComponent<?>>, OperationFacet

public class AgentLauncherScriptComponent
extends Object
implements ResourceComponent<AgentServerComponent<?>>, OperationFacet

The component that represents the agent's launcher script.

Author:
John Mazzitelli

Constructor Summary
AgentLauncherScriptComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
 OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration params)
           
 void start(ResourceContext<AgentServerComponent<?>> rc)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentLauncherScriptComponent

public AgentLauncherScriptComponent()
Method Detail

start

public void start(ResourceContext<AgentServerComponent<?>> rc)
           throws Exception
Specified by:
start in interface ResourceComponent<AgentServerComponent<?>>
Throws:
Exception

stop

public void stop()
Specified by:
stop in interface ResourceComponent<AgentServerComponent<?>>

getAvailability

public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
Specified by:
getAvailability in interface AvailabilityFacet

invokeOperation

public OperationResult invokeOperation(String name,
                                       org.rhq.core.domain.configuration.Configuration params)
                                throws Exception
Specified by:
invokeOperation in interface OperationFacet
Throws:
Exception


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