org.apache.muse.core.platform.osgi
Class Activator
java.lang.Object
org.apache.muse.core.platform.osgi.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
Activator is the BundleActivator
implementation for the Muse
Core Bundle. The activator manages the OSGi Service interface to the
appropriate IsolationLayer implementation through an instance of the
org.apache.muse.core.platform.osgi.ResourceManagementProvider
service.
- Author:
- Joel Hawkins (joelh)
- See Also:
ResourceManagementProvider
Method Summary |
void |
start(org.osgi.framework.BundleContext context)
starts the Bundle. |
void |
stop(org.osgi.framework.BundleContext context)
stops the Bundle and removes any applied listeners |
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 context)
throws Exception
- starts the Bundle. The
start
method attempts to resolve an
initial refrence to the ResourceManagementProvider
service
and attach that service to the OSGiResourceRouter
instance. The method also intializes the OSGiReflectUtilHelper instance.
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
- See Also:
OSGiResourceRouter
,
OSGiReflectUtilHelper
,
BundleActivator.start(org.osgi.framework.BundleContext)
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- stops the Bundle and removes any applied listeners
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
- See Also:
BundleActivator.stop(org.osgi.framework.BundleContext)
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.