public class ApplicationComponent extends MBeanResourceComponent<JBossASServerComponent<?>> implements ContentFacet, DeleteResourceFacet, OperationFacet
bean, OBJECT_NAME_PROP, PROPERTY_TRANSFORM, resourceContextCREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP| Constructor and Description |
|---|
ApplicationComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteResource() |
org.rhq.core.domain.content.transfer.DeployPackagesResponse |
deployPackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages,
ContentServices contentServices) |
Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> |
discoverDeployedPackages(org.rhq.core.domain.content.PackageType type) |
List<org.rhq.core.domain.content.transfer.DeployPackageStep> |
generateInstallationSteps(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails) |
String |
getApplicationName()
Returns the name of the application.
|
String |
getFileName()
Returns the file name of this application.
|
JBossASServerComponent<?> |
getParentResourceComponent() |
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) |
org.rhq.core.domain.content.transfer.RemovePackagesResponse |
removePackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages) |
InputStream |
retrievePackageBits(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails) |
void |
revertFromBackupFile()
Revert the resource from a possibly existing backup file with the same basename
and ending in .bak
|
getAttributeName, getAttributeProperty, getAvailability, getBeanProperties, getEmsBean, getEmsConnection, getPropertyValueAsType, getResourceContext, getValues, invokeOperation, loadBean, loadBean, loadResourceConfiguration, lookupAttributeProperty, setEmsBean, setResourceContext, start, stop, transformBeanName, updateResourceConfiguration, updateResourceConfigurationpublic InputStream retrievePackageBits(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
retrievePackageBits in interface ContentFacetpublic Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverDeployedPackages(org.rhq.core.domain.content.PackageType type)
discoverDeployedPackages in interface ContentFacetpublic org.rhq.core.domain.content.transfer.RemovePackagesResponse removePackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages)
removePackages in interface ContentFacetpublic List<org.rhq.core.domain.content.transfer.DeployPackageStep> generateInstallationSteps(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
generateInstallationSteps in interface ContentFacetpublic org.rhq.core.domain.content.transfer.DeployPackagesResponse deployPackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages, ContentServices contentServices)
deployPackages in interface ContentFacetpublic void deleteResource()
throws Exception
deleteResource in interface DeleteResourceFacetExceptionpublic void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
getValues in interface MeasurementFacetgetValues in class MBeanResourceComponent<JBossASServerComponent<?>>public OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration parameters) throws InterruptedException, Exception
invokeOperation in interface OperationFacetinvokeOperation in class MBeanResourceComponent<JBossASServerComponent<?>>InterruptedExceptionExceptionpublic String getApplicationName()
public String getFileName()
public JBossASServerComponent<?> getParentResourceComponent()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.