public class JBossASServerComponent<T extends ResourceComponent<?>> extends Object implements MeasurementFacet, OperationFacet, JMXComponent<T>, CreateChildResourceFacet, ApplicationServerComponent, ContentFacet, SupportFacet
| Modifier and Type | Field and Description |
|---|---|
static String |
AVAIL_CHECK_PERIOD_CONFIG_PROP |
static String |
BINDING_ADDRESS_CONFIG_PROP |
static String |
CONFIGURATION_PATH_CONFIG_PROP |
static String |
CONFIGURATION_SET_CONFIG_PROP |
static String |
JAVA_HOME_PATH_CONFIG_PROP |
static String |
JBOSS_HOME_DIR_CONFIG_PROP |
static String |
NAMING_URL_CONFIG_PROP |
static String |
SCRIPT_PREFIX_CONFIG_PROP |
static String |
SHUTDOWN_MBEAN_CONFIG_PROP |
static String |
SHUTDOWN_MBEAN_OPERATION_CONFIG_PROP |
static String |
SHUTDOWN_METHOD_CONFIG_PROP |
static String |
SHUTDOWN_SCRIPT_CONFIG_PROP |
static String |
START_SCRIPT_CONFIG_PROP |
static String |
START_WAIT_MAX_PROP |
static String |
STOP_WAIT_MAX_PROP |
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP| Constructor and Description |
|---|
JBossASServerComponent() |
| Modifier and Type | Method and Description |
|---|---|
CreateResourceReport |
createResource(CreateResourceReport report) |
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) |
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
String |
getBindingAddress() |
File |
getConfigurationPath()
Return the absolute path of this JBoss server's configuration directory (e.g.
|
String |
getConfigurationSet() |
File |
getDeploymentFilePath(String objectName) |
org.mc4j.ems.connection.EmsConnection |
getEmsConnection() |
File |
getJavaHomePath()
Return the absolute path of this JBoss server's JAVA_HOME directory (e.g.
|
MainDeployer |
getMainDeployer() |
JBossASServerOperationsDelegate |
getOperationsDelegate()
Returns the operation delegate configured against the resource represented by this component.
|
org.rhq.core.domain.configuration.Configuration |
getPluginConfiguration() |
File |
getShutdownScriptPath()
Return the absolute path of this JBoss server's shutdown script (e.g.
|
SnapshotReportResults |
getSnapshotReport(SnapshotReportRequest request) |
File |
getStartScriptPath()
Return the absolute path of this JBoss server's start script (e.g.
|
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 configuration) |
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 |
start(ResourceContext context) |
void |
stop() |
public static final String NAMING_URL_CONFIG_PROP
public static final String JBOSS_HOME_DIR_CONFIG_PROP
public static final String CONFIGURATION_PATH_CONFIG_PROP
public static final String SCRIPT_PREFIX_CONFIG_PROP
public static final String CONFIGURATION_SET_CONFIG_PROP
public static final String START_SCRIPT_CONFIG_PROP
public static final String START_WAIT_MAX_PROP
public static final String STOP_WAIT_MAX_PROP
public static final String SHUTDOWN_SCRIPT_CONFIG_PROP
public static final String SHUTDOWN_MBEAN_CONFIG_PROP
public static final String SHUTDOWN_MBEAN_OPERATION_CONFIG_PROP
public static final String SHUTDOWN_METHOD_CONFIG_PROP
public static final String JAVA_HOME_PATH_CONFIG_PROP
public static final String AVAIL_CHECK_PERIOD_CONFIG_PROP
public static final String BINDING_ADDRESS_CONFIG_PROP
public void start(ResourceContext context) throws Exception
start in interface ResourceComponent<T extends ResourceComponent<?>>Exceptionpublic void stop()
stop in interface ResourceComponent<T extends ResourceComponent<?>>public 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)
getValues in interface MeasurementFacetpublic OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration configuration) throws InterruptedException
invokeOperation in interface OperationFacetInterruptedExceptionpublic 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 org.rhq.core.domain.content.transfer.RemovePackagesResponse removePackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages)
removePackages in interface ContentFacetpublic Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverDeployedPackages(org.rhq.core.domain.content.PackageType type)
discoverDeployedPackages in interface ContentFacetpublic InputStream retrievePackageBits(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
retrievePackageBits in interface ContentFacetpublic CreateResourceReport createResource(CreateResourceReport report)
createResource in interface CreateChildResourceFacetpublic SnapshotReportResults getSnapshotReport(SnapshotReportRequest request) throws Exception
getSnapshotReport in interface SupportFacetExceptionpublic org.mc4j.ems.connection.EmsConnection getEmsConnection()
getEmsConnection in interface JMXComponent<T extends ResourceComponent<?>>@NotNull public File getConfigurationPath()
getConfigurationPath in interface ApplicationServerComponentpublic org.rhq.core.domain.configuration.Configuration getPluginConfiguration()
public String getConfigurationSet()
@NotNull public File getStartScriptPath()
@NotNull public File getShutdownScriptPath()
@Nullable public File getJavaHomePath()
@NotNull public String getBindingAddress()
public MainDeployer getMainDeployer()
@NotNull public JBossASServerOperationsDelegate getOperationsDelegate()
nullCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.