my.avalon.jmx
Class JRMPAdaptorWrapper
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
my.avalon.jmx.JRMPAdaptorWrapper
- 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 JRMPAdaptorWrapper
- 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 RMIAdaptor to use it in the Avalon Framework.
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 |
JRMPAdaptorWrapper
public JRMPAdaptorWrapper()
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.