org.rhq.plugins.jbossas5
Class AbstractManagedDeploymentComponent
java.lang.Object
org.rhq.plugins.jbossas5.AbstractManagedComponent
org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent
- All Implemented Interfaces:
- org.jboss.deployers.spi.management.deploy.ProgressListener, AvailabilityFacet, ResourceComponent<ProfileServiceComponent>, MeasurementFacet, OperationFacet, ProfileServiceComponent<ProfileServiceComponent>, JMXComponent<ProfileServiceComponent>
- Direct Known Subclasses:
- EmbeddedManagedDeploymentComponent, StandaloneManagedDeploymentComponent
public abstract class AbstractManagedDeploymentComponent
- extends AbstractManagedComponent
- implements MeasurementFacet, OperationFacet, org.jboss.deployers.spi.management.deploy.ProgressListener
ResourceComponent for managing ManagedDeployments (EARs, WARs, etc.).
- Author:
- Mark Spritzler, Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEPLOYMENT_NAME_PROPERTY
public static final java.lang.String DEPLOYMENT_NAME_PROPERTY
- See Also:
- Constant Field Values
DEPLOYMENT_TYPE_NAME_PROPERTY
public static final java.lang.String DEPLOYMENT_TYPE_NAME_PROPERTY
- See Also:
- Constant Field Values
EXTENSION_PROPERTY
public static final java.lang.String EXTENSION_PROPERTY
- See Also:
- Constant Field Values
deploymentName
protected java.lang.String deploymentName
- The name of the ManagedDeployment (e.g.: vfszip:/C:/opt/jboss-5.0.0.GA/server/default/deploy/foo.war).
deploymentType
protected org.jboss.deployers.spi.management.KnownDeploymentTypes deploymentType
- The type of the ManagedDeployment.
deploymentFile
protected java.io.File deploymentFile
- The absolute path of the deployment file (e.g.: C:/opt/jboss-5.0.0.GA/server/default/deploy/foo.war).
AbstractManagedDeploymentComponent
public AbstractManagedDeploymentComponent()
start
public void start(ResourceContext<ProfileServiceComponent> resourceContext)
throws java.lang.Exception
- Specified by:
start in interface ResourceComponent<ProfileServiceComponent>- Overrides:
start in class AbstractManagedComponent
- Throws:
java.lang.Exception
getAvailability
public AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
getValues
public void getValues(MeasurementReport report,
java.util.Set<MeasurementScheduleRequest> requests)
throws java.lang.Exception
- Specified by:
getValues in interface MeasurementFacet
- Throws:
java.lang.Exception
invokeOperation
public OperationResult invokeOperation(java.lang.String name,
Configuration parameters)
throws java.lang.Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
java.lang.Exception
progressEvent
public void progressEvent(org.jboss.deployers.spi.management.deploy.ProgressEvent event)
- Specified by:
progressEvent in interface org.jboss.deployers.spi.management.deploy.ProgressListener
getDeploymentName
public java.lang.String getDeploymentName()
getDeploymentType
public org.jboss.deployers.spi.management.KnownDeploymentTypes getDeploymentType()
getManagedDeployment
protected org.jboss.managed.api.ManagedDeployment getManagedDeployment()
throws org.jboss.profileservice.spi.NoSuchDeploymentException
- Throws:
org.jboss.profileservice.spi.NoSuchDeploymentException
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.