org.ow2.wildcat.osgi
Class AttributeListener

java.lang.Object
  extended by org.ow2.wildcat.osgi.AttributeListener
All Implemented Interfaces:
java.util.EventListener, org.osgi.framework.ServiceListener

public class AttributeListener
extends java.lang.Object
implements org.osgi.framework.ServiceListener

Listen for attaching and detaching WildCAT attributes.

Author:
Loris Bouzonnet

Constructor Summary
AttributeListener(org.osgi.framework.BundleContext bundleContext, org.ow2.wildcat.Context ctx)
           
 
Method Summary
 void serviceChanged(org.osgi.framework.ServiceEvent event)
          Attach or detach a WildCAT attribute according to the incoming event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeListener

public AttributeListener(org.osgi.framework.BundleContext bundleContext,
                         org.ow2.wildcat.Context ctx)
Parameters:
bundleContext -
ctx -
Method Detail

serviceChanged

public void serviceChanged(org.osgi.framework.ServiceEvent event)
Attach or detach a WildCAT attribute according to the incoming event.

Specified by:
serviceChanged in interface org.osgi.framework.ServiceListener
Parameters:
event - a service event


Copyright © 2008 OW2 Consortium. All Rights Reserved.