org.rhq.plugins.jbossas5
Class JBossWebComponent

java.lang.Object
  extended by org.rhq.plugins.jbossas5.JBossWebComponent
All Implemented Interfaces:
AvailabilityFacet, ResourceComponent<ProfileServiceComponent<?>>, ProfileServiceComponent<ProfileServiceComponent<?>>, JMXComponent<ProfileServiceComponent<?>>

public class JBossWebComponent
extends Object
implements ProfileServiceComponent<ProfileServiceComponent<?>>

A ResourceComponent for managing the JBoss Web servlet container within a JBoss AS instance.

Author:
Ian Springer

Field Summary
 
Fields inherited from interface org.rhq.plugins.jmx.JMXComponent
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP
 
Constructor Summary
JBossWebComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
 ProfileServiceConnection getConnection()
           
 org.mc4j.ems.connection.EmsConnection getEmsConnection()
           
 ResourceContext<ProfileServiceComponent<?>> getResourceContext()
           
 void start(ResourceContext<ProfileServiceComponent<?>> resourceContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossWebComponent

public JBossWebComponent()
Method Detail

start

public void start(ResourceContext<ProfileServiceComponent<?>> resourceContext)
           throws Exception
Specified by:
start in interface ResourceComponent<ProfileServiceComponent<?>>
Throws:
Exception

stop

public void stop()
Specified by:
stop in interface ResourceComponent<ProfileServiceComponent<?>>

getAvailability

public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
Specified by:
getAvailability in interface AvailabilityFacet

getResourceContext

@NotNull
public ResourceContext<ProfileServiceComponent<?>> getResourceContext()
Specified by:
getResourceContext in interface ProfileServiceComponent<ProfileServiceComponent<?>>

getConnection

public ProfileServiceConnection getConnection()
Specified by:
getConnection in interface ProfileServiceComponent<ProfileServiceComponent<?>>

getEmsConnection

public org.mc4j.ems.connection.EmsConnection getEmsConnection()
Specified by:
getEmsConnection in interface JMXComponent<ProfileServiceComponent<?>>


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.