public abstract class AbstractManagedDeploymentComponent extends AbstractManagedComponent implements MeasurementFacet, OperationFacet, org.jboss.deployers.spi.management.deploy.ProgressListener
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPLOYMENT_NAME_PROPERTY |
static String |
DEPLOYMENT_TYPE_NAME_PROPERTY |
protected File |
deploymentFile
The absolute path of the deployment file (e.g.: C:/opt/jboss-6.0.0.Final/server/default/deploy/foo.war).
|
protected String |
deploymentName
The name of the ManagedDeployment (e.g.: vfszip:/C:/opt/jboss-6.0.0.Final/server/default/deploy/foo.war).
|
protected org.jboss.deployers.spi.management.KnownDeploymentTypes |
deploymentType
The type of the ManagedDeployment (e.g.
|
static String |
EXTENSION_PROPERTY |
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP| Constructor and Description |
|---|
AbstractManagedDeploymentComponent() |
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
String |
getDeploymentName() |
org.jboss.deployers.spi.management.KnownDeploymentTypes |
getDeploymentType() |
protected org.jboss.managed.api.ManagedDeployment |
getManagedDeployment() |
protected org.jboss.managed.api.ManagedDeployment |
getManagedDeployment(boolean forceLoad) |
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests) |
OperationResult |
invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters) |
void |
progressEvent(org.jboss.deployers.spi.management.deploy.ProgressEvent event) |
void |
start(ResourceContext<ProfileServiceComponent<?>> resourceContext) |
getConnection, getEmsConnection, getResourceContext, getResourceDescription, stoppublic static final String DEPLOYMENT_NAME_PROPERTY
public static final String DEPLOYMENT_TYPE_NAME_PROPERTY
public static final String EXTENSION_PROPERTY
protected String deploymentName
protected org.jboss.deployers.spi.management.KnownDeploymentTypes deploymentType
protected File deploymentFile
public void start(ResourceContext<ProfileServiceComponent<?>> resourceContext) throws Exception
start in interface ResourceComponent<ProfileServiceComponent<?>>start in class AbstractManagedComponentExceptionpublic org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetpublic void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
throws Exception
getValues in interface MeasurementFacetExceptionpublic OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration parameters) throws Exception
invokeOperation in interface OperationFacetExceptionpublic void progressEvent(org.jboss.deployers.spi.management.deploy.ProgressEvent event)
progressEvent in interface org.jboss.deployers.spi.management.deploy.ProgressListenerpublic String getDeploymentName()
public org.jboss.deployers.spi.management.KnownDeploymentTypes getDeploymentType()
protected org.jboss.managed.api.ManagedDeployment getManagedDeployment()
throws org.jboss.profileservice.spi.NoSuchDeploymentException
org.jboss.profileservice.spi.NoSuchDeploymentExceptionprotected org.jboss.managed.api.ManagedDeployment getManagedDeployment(boolean forceLoad)
throws org.jboss.profileservice.spi.NoSuchDeploymentException
org.jboss.profileservice.spi.NoSuchDeploymentExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.