my.avalon.jmx
Class HTTPAdaptorWrapper

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended bymy.avalon.jmx.HTTPAdaptorWrapper
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Startable

public class HTTPAdaptorWrapper
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Startable

Wrapper of the mx4j HttpAdaptor to use it in the Avalon Framework.


Constructor Summary
HTTPAdaptorWrapper()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration config)
          Configuration of the component by the container.
 void service(org.apache.avalon.framework.service.ServiceManager manager)
          Servicing of the component by the container during which service dependencies declared under the component can be resolved using the supplied service manager.
 void start()
           
 void stop()
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPAdaptorWrapper

public HTTPAdaptorWrapper()
Method Detail

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Servicing of the component by the container during which service dependencies declared under the component can be resolved using the supplied service manager.

Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Parameters:
manager - the service manager
Throws:
org.apache.avalon.framework.service.ServiceException

configure

public void configure(org.apache.avalon.framework.configuration.Configuration config)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Configuration of the component by the container. The implementation get a child element named 'source' and assigns the value of the element to a local variable.

Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Parameters:
config - the component configuration
Throws:
org.apache.avalon.framework.configuration.ConfigurationException - if a configuration error occurs

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface org.apache.avalon.framework.activity.Startable
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface org.apache.avalon.framework.activity.Startable
Throws:
java.lang.Exception


Copyright © 2003-2004 . All Rights Reserved.