org.ow2.wildcat.osgi
Class Activator

java.lang.Object
  extended by org.ow2.wildcat.osgi.Activator
All Implemented Interfaces:
java.util.EventListener, javax.management.NotificationListener, org.osgi.framework.BundleActivator

public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator, javax.management.NotificationListener

Create a Context and register it as service.

Author:
Loris Bouzonnet

Constructor Summary
Activator()
           
 
Method Summary
 void handleNotification(javax.management.Notification notification, java.lang.Object handback)
           
 void start(org.osgi.framework.BundleContext bundleContext)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
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 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 context)
          throws java.lang.Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

handleNotification

public void handleNotification(javax.management.Notification notification,
                               java.lang.Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener
Parameters:
notification -
handback -


Copyright © 2008 OW2 Consortium. All Rights Reserved.