org.rhq.plugins.jbossas5
Class ApplicationServerComponent<T extends ResourceComponent<?>>
java.lang.Object
org.rhq.plugins.jbossas5.ApplicationServerComponent<T>
- All Implemented Interfaces:
- org.jboss.deployers.spi.management.deploy.ProgressListener, AvailabilityFacet, ConfigurationFacet, ContentFacet, CreateChildResourceFacet, ResourceComponent<T>, MeasurementFacet, OperationFacet, ProfileServiceComponent<T>, JMXComponent<T>
public class ApplicationServerComponent<T extends ResourceComponent<?>>
- extends Object
- implements ResourceComponent<T>, ProfileServiceComponent<T>, CreateChildResourceFacet, MeasurementFacet, ConfigurationFacet, org.jboss.deployers.spi.management.deploy.ProgressListener, ContentFacet, OperationFacet
ResourceComponent for a JBoss AS, 5.1.0.CR1 or later, Server.
- Author:
- Jason Dobies, Mark Spritzler, Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationServerComponent
public ApplicationServerComponent()
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
start
public void start(ResourceContext resourceContext)
- Specified by:
start in interface ResourceComponent<T extends ResourceComponent<?>>
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<T extends ResourceComponent<?>>
getValues
public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
- Specified by:
getValues in interface MeasurementFacet
loadResourceConfiguration
public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport configurationUpdateReport)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet
createResource
public CreateResourceReport createResource(CreateResourceReport createResourceReport)
- Specified by:
createResource in interface CreateChildResourceFacet
progressEvent
public void progressEvent(org.jboss.deployers.spi.management.deploy.ProgressEvent eventInfo)
- Specified by:
progressEvent in interface org.jboss.deployers.spi.management.deploy.ProgressListener
getConnection
@Nullable
public ProfileServiceConnection getConnection()
- Specified by:
getConnection in interface ProfileServiceComponent<T extends ResourceComponent<?>>
deployPackages
public org.rhq.core.domain.content.transfer.DeployPackagesResponse deployPackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages,
ContentServices contentServices)
- Specified by:
deployPackages in interface ContentFacet
discoverDeployedPackages
public Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverDeployedPackages(org.rhq.core.domain.content.PackageType type)
- Specified by:
discoverDeployedPackages in interface ContentFacet
generateInstallationSteps
public List<org.rhq.core.domain.content.transfer.DeployPackageStep> generateInstallationSteps(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
- Specified by:
generateInstallationSteps in interface ContentFacet
removePackages
public org.rhq.core.domain.content.transfer.RemovePackagesResponse removePackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages)
- Specified by:
removePackages in interface ContentFacet
retrievePackageBits
public InputStream retrievePackageBits(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
- Specified by:
retrievePackageBits in interface ContentFacet
getEmsConnection
public org.mc4j.ems.connection.EmsConnection getEmsConnection()
- Specified by:
getEmsConnection in interface JMXComponent<T extends ResourceComponent<?>>
getResourceContext
@NotNull
public ResourceContext getResourceContext()
- Specified by:
getResourceContext in interface ProfileServiceComponent<T extends ResourceComponent<?>>
invokeOperation
public OperationResult invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
throws InterruptedException,
Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
InterruptedException
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.