org.ow2.util.plan.fetcher.impl
Class FetcherActivator

java.lang.Object
  extended by org.ow2.util.plan.fetcher.impl.FetcherActivator
All Implemented Interfaces:
java.util.EventListener, org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener

public class FetcherActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener

Activator for the fetcher/impl bundle. It registers a ResourceFetcherFactoryManager service and uses it as registration/unregistration event listener for ResourceFetcherFactory services.

Author:
Mickaƫl LEDUQUE

Constructor Summary
FetcherActivator()
           
 
Method Summary
 void serviceChanged(org.osgi.framework.ServiceEvent event)
          
 void start(org.osgi.framework.BundleContext context)
          
 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

FetcherActivator

public FetcherActivator()
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

serviceChanged

public void serviceChanged(org.osgi.framework.ServiceEvent event)

Specified by:
serviceChanged in interface org.osgi.framework.ServiceListener


Copyright © 2007-2010 OW2 Consortium. All Rights Reserved.