org.jboss.osgi.husky.runtime.osgi
Class HuskyActivator
java.lang.Object
org.jboss.osgi.husky.runtime.osgi.HuskyActivator
- All Implemented Interfaces:
- BundleActivator
public class HuskyActivator
- extends Object
- implements BundleActivator
This is the Husky BundleActivator.
It unconditionally starts the JMXConnector.
If the SocketConnector.PROP_SOCKET_CONNECTOR_HOST and
SocketConnector.PROP_SOCKET_CONNECTOR_PORT properites are set it also
starts the SocketConnector.
Finally it starts the HuskyExtender, which is a BundleListener
that looks for manifest headers called ManifestProcessor.HEADER_TEST_PACKAGE.
- Since:
- 17-May-2009
- Author:
- Thomas.Diesler@jboss.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HuskyActivator
public HuskyActivator()
start
public void start(BundleContext context)
throws Exception
- Specified by:
start in interface BundleActivator
- Throws:
Exception
stop
public void stop(BundleContext context)
throws Exception
- Specified by:
stop in interface BundleActivator
- Throws:
Exception
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.