com.fusesource.fmc.restjmx.osgi
Class Activator

java.lang.Object
  extended by com.fusesource.fmc.restjmx.osgi.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer

public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer


Constructor Summary
Activator()
           
 
Method Summary
 java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
           
 void modifiedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
           
protected  void register(org.osgi.service.http.HttpService service)
           
 void removedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
protected  void unregister(org.osgi.service.http.HttpService service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           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 context)
          throws java.lang.Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

addingService

public java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
Specified by:
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer

modifiedService

public void modifiedService(org.osgi.framework.ServiceReference reference,
                            java.lang.Object service)
Specified by:
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer

removedService

public void removedService(org.osgi.framework.ServiceReference reference,
                           java.lang.Object service)
Specified by:
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer

register

protected void register(org.osgi.service.http.HttpService service)

unregister

protected void unregister(org.osgi.service.http.HttpService service)


Copyright © 2012 FuseSource. All Rights Reserved.