org.rhq.plugins.agent
Class AgentEnvironmentScriptComponent

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

public class AgentEnvironmentScriptComponent
extends Object
implements ResourceComponent<AgentServerComponent<?>>, ConfigurationFacet

The component that represents the agent's environment setup script.

Author:
John Mazzitelli

Constructor Summary
AgentEnvironmentScriptComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
 org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
           
 void start(ResourceContext<AgentServerComponent<?>> resourceContext)
           
 void stop()
           
 void updateResourceConfiguration(ConfigurationUpdateReport request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentEnvironmentScriptComponent

public AgentEnvironmentScriptComponent()
Method Detail

start

public void start(ResourceContext<AgentServerComponent<?>> resourceContext)
           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

loadResourceConfiguration

public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
                                                                          throws Exception
Specified by:
loadResourceConfiguration in interface ConfigurationFacet
Throws:
Exception

updateResourceConfiguration

public void updateResourceConfiguration(ConfigurationUpdateReport request)
Specified by:
updateResourceConfiguration in interface ConfigurationFacet


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