org.jboss.osgi.husky.runtime.osgi
Class JMXConnector
java.lang.Object
org.jboss.osgi.husky.internal.AbstractConnector
org.jboss.osgi.husky.runtime.osgi.JMXConnector
- All Implemented Interfaces:
- Connector, JMXConnectorMBean
public class JMXConnector
- extends org.jboss.osgi.husky.internal.AbstractConnector
- implements JMXConnectorMBean
The JMX connector is a Connector
that process Husky
requests via an JMX invocation.
- Since:
- 17-May-2009
- Author:
- Thomas.Diesler@jboss.com
Field Summary |
static ObjectName |
OBJECT_NAME
The ObjectName for this service: jboss.osgi.husky:service=jmx-connector |
Methods inherited from class org.jboss.osgi.husky.internal.AbstractConnector |
getBundleContext, process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_NAME
public static ObjectName OBJECT_NAME
- The ObjectName for this service: jboss.osgi.husky:service=jmx-connector
JMXConnector
public JMXConnector(BundleContext context)
start
public void start()
throws Exception
- Overrides:
start
in class org.jboss.osgi.husky.internal.AbstractConnector
- Throws:
Exception
stop
public void stop()
throws Exception
- Overrides:
stop
in class org.jboss.osgi.husky.internal.AbstractConnector
- Throws:
Exception
process
public InputStream process(InputStream reqStream)
- Description copied from interface:
JMXConnectorMBean
- Consumes the serialized version of an
Request
and
return the the Response
from the test run
- Specified by:
process
in interface JMXConnectorMBean
- Overrides:
process
in class org.jboss.osgi.husky.internal.AbstractConnector
- Parameters:
reqStream
- the input stream to read the Request
from
- Returns:
- the input stream to read the
Response
from
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.