com.springsource.util.osgi
Class OsgiBundleActivator

java.lang.Object
  extended by com.springsource.util.osgi.OsgiBundleActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class OsgiBundleActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator

OsgiBundleActivator initialises the util.osgi bundle.

Concurrent Semantics
This class is not thread safe.

Since:
Jersey
Author:
Glyn Normington

Field Summary
private  org.osgi.framework.BundleContext bundleContext
           
private  org.osgi.framework.ServiceRegistration packageAdminUtilServiceRegistration
           
private  StandardPackageAdminUtil standardPackageAdminUtil
           
 
Constructor Summary
OsgiBundleActivator()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext bundleContext)
          
 void stop(org.osgi.framework.BundleContext bundleContext)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

standardPackageAdminUtil

private StandardPackageAdminUtil standardPackageAdminUtil

bundleContext

private org.osgi.framework.BundleContext bundleContext

packageAdminUtilServiceRegistration

private org.osgi.framework.ServiceRegistration packageAdminUtilServiceRegistration
Constructor Detail

OsgiBundleActivator

public OsgiBundleActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bundleContext)
           throws java.lang.Exception

Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext bundleContext)
          throws java.lang.Exception

Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception