org.rhq.plugins.jbossas.script
Class ScriptComponent
java.lang.Object
org.rhq.plugins.jbossas.script.ScriptComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent<JBossASServerComponent<?>>, OperationFacet
public class ScriptComponent
- extends Object
- implements ResourceComponent<JBossASServerComponent<?>>, OperationFacet
A JON service that provides the ability to execute a script.
- Author:
- Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATH_CONFIG_PROP
public static final String PATH_CONFIG_PROP
- See Also:
- Constant Field Values
ENVIRONMENT_VARIABLES_CONFIG_PROP
public static final String ENVIRONMENT_VARIABLES_CONFIG_PROP
- See Also:
- Constant Field Values
EXECUTE_OPERATION
public static final String EXECUTE_OPERATION
- See Also:
- Constant Field Values
COMMAND_LINE_ARGUMENTS_PARAM_PROP
public static final String COMMAND_LINE_ARGUMENTS_PARAM_PROP
- See Also:
- Constant Field Values
ScriptComponent
public ScriptComponent()
start
public void start(ResourceContext<JBossASServerComponent<?>> resourceContext)
- Specified by:
start in interface ResourceComponent<JBossASServerComponent<?>>
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<JBossASServerComponent<?>>
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.