org.rhq.plugins.jbossas5.script
Class ScriptComponent
java.lang.Object
org.rhq.plugins.jbossas5.script.ScriptComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent<ApplicationServerComponent>, OperationFacet
public class ScriptComponent
- extends java.lang.Object
- implements ResourceComponent<ApplicationServerComponent>, 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 java.lang.String PATH_CONFIG_PROP
- See Also:
- Constant Field Values
ENVIRONMENT_VARIABLES_CONFIG_PROP
public static final java.lang.String ENVIRONMENT_VARIABLES_CONFIG_PROP
- See Also:
- Constant Field Values
EXECUTE_OPERATION
public static final java.lang.String EXECUTE_OPERATION
- See Also:
- Constant Field Values
COMMAND_LINE_ARGUMENTS_PARAM_PROP
public static final java.lang.String COMMAND_LINE_ARGUMENTS_PARAM_PROP
- See Also:
- Constant Field Values
ScriptComponent
public ScriptComponent()
start
public void start(ResourceContext<ApplicationServerComponent> resourceContext)
- Specified by:
start in interface ResourceComponent<ApplicationServerComponent>
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<ApplicationServerComponent>
getAvailability
public AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
invokeOperation
public OperationResult invokeOperation(java.lang.String name,
Configuration params)
throws java.lang.Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
java.lang.Exception
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.