|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.sape.carbon.services.jmx.server.mx4j.DefaultHttpAdaptorServiceImpl
This component implementation configures and sets up the MX4J HTTP adaptor to create a web interface to JMX. Copyright 2002 Sapient
| Field Summary | |
private mx4j.adaptor.http.HttpAdaptor |
adaptor
Holds the HttpAdapter for the service. |
private String |
host
holds the hostname for the adapter. |
private org.apache.commons.logging.Log |
log
Provides a handle to Apache-commons logger |
private int |
port
Holds the port of the adapter. |
private int |
retries
Holds the port incrementals. |
private javax.management.MBeanServer |
server
Holds the MBean Service being exposed. |
| Constructor Summary | |
DefaultHttpAdaptorServiceImpl()
|
|
| Method Summary | |
void |
configure(ComponentConfiguration configuration)
Configure the component. |
void |
destroy()
Destroy the component. |
javax.management.MBeanServer |
getMBeanServer()
Retreives the MBean Server. |
void |
initialize(Component thisComponent)
Initialize the component. |
void |
start()
Start the component. |
void |
stop()
Stop the component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private org.apache.commons.logging.Log log
private javax.management.MBeanServer server
private mx4j.adaptor.http.HttpAdaptor adaptor
private int port
private String host
private int retries
| Constructor Detail |
public DefaultHttpAdaptorServiceImpl()
| Method Detail |
public void configure(ComponentConfiguration configuration)
configure in interface Configurableconfiguration - HttpAdaptorConfiguration
for this componentpublic void initialize(Component thisComponent)
initialize in interface InitializablethisComponent - reference to the componentpublic void start()
start in interface StartableLifecycleExceptionpublic void stop()
stop in interface StartableLifecycleExceptionpublic javax.management.MBeanServer getMBeanServer()
getMBeanServer in interface MBeanServerServicepublic void destroy()
destroy in interface DestroyableLifecycleException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||