org.ow2.jonas.resource.internal.osgi
Class Activator
java.lang.Object
org.ow2.jonas.resource.internal.osgi.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
JOnAS JMX Service Activator.
- Author:
- Philippe Durieux
TODO Needs a better logging solution :)
Currently not used because of LoaderManager that exit the JVM.
|
Method Summary |
void |
start(org.osgi.framework.BundleContext bc)
Start JOnAS Resource Service Bundle. |
void |
stop(org.osgi.framework.BundleContext bc)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext bc)
throws Exception
- Start JOnAS Resource Service Bundle.
- Specified by:
start in interface org.osgi.framework.BundleActivator
- Parameters:
bc - OSGi BundleContext
- Throws:
Exception - when ResourceService startup has failed.- See Also:
BundleActivator.start(org.osgi.framework.BundleContext)
stop
public void stop(org.osgi.framework.BundleContext bc)
throws Exception
-
- Specified by:
stop in interface org.osgi.framework.BundleActivator
- Throws:
Exception- See Also:
BundleActivator.stop(org.osgi.framework.BundleContext)
Copyright © 2007 OW2 Consortium. All Rights Reserved.