|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.plugins.jbossas.JBossASServerComponent<T>
public class JBossASServerComponent<T extends ResourceComponent<?>>
Resource component for managing JBoss AS 3.2.3 through 4.2.x, and JBoss EAP and SOA-P 4.x.
| Field Summary | |
|---|---|
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
|
| Fields inherited from interface org.rhq.plugins.jmx.JMXComponent |
|---|
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP |
| Constructor Summary | |
|---|---|
JBossASServerComponent()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public JBossASServerComponent()
| Method Detail |
|---|
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 AvailabilityFacet
public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
getValues in interface MeasurementFacet
public 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 ContentFacet
public 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 CreateChildResourceFacet
public 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 File getDeploymentFilePath(String objectName)
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()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||