com.francetelecom.model
Class Activator

java.lang.Object
  extended by com.francetelecom.model.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

The Class Activator.


Constructor Summary
Activator()
           
 
Method Summary
 java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
          Adding service.
 void modifiedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
          Modified service.
 void removedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
          Removed service.
 void start(org.osgi.framework.BundleContext context)
          Start.
 void stop(org.osgi.framework.BundleContext context)
          Stop.
 
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
Start.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - the context
Throws:
java.lang.Exception - the exception

stop

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

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - the context
Throws:
java.lang.Exception - the exception

addingService

public java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
Adding service.

Specified by:
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Parameters:
reference - the reference
Returns:
the object
See Also:
ServiceTrackerCustomizer.addingService(org.osgi.framework.ServiceReference)

modifiedService

public void modifiedService(org.osgi.framework.ServiceReference reference,
                            java.lang.Object service)
Modified service.

Specified by:
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Parameters:
reference - the reference
service - the service
See Also:
ServiceTrackerCustomizer.modifiedService(org.osgi.framework.ServiceReference, java.lang.Object)

removedService

public void removedService(org.osgi.framework.ServiceReference reference,
                           java.lang.Object service)
Removed service.

Specified by:
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Parameters:
reference - the reference
service - the service
See Also:
ServiceTrackerCustomizer.removedService(org.osgi.framework.ServiceReference, java.lang.Object)


Copyright © 2011 FranceTelecom. All Rights Reserved.