org.eclipse.osgi.framework.internal.core
Class FilteredServiceListener

java.lang.Object
  extended by org.eclipse.osgi.framework.internal.core.FilteredServiceListener
All Implemented Interfaces:
java.util.EventListener, ServiceListener

public class FilteredServiceListener
extends java.lang.Object
implements ServiceListener


Constructor Summary
protected FilteredServiceListener(java.lang.String filterstring, ServiceListener listener, BundleContextImpl context)
          Constructor.
 
Method Summary
 void serviceChanged(ServiceEvent event)
          Receive notification that a service has had a change occur in it's lifecycle.
 java.lang.String toString()
          Get the filter string used by this Filtered listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilteredServiceListener

protected FilteredServiceListener(java.lang.String filterstring,
                                  ServiceListener listener,
                                  BundleContextImpl context)
                           throws InvalidSyntaxException
Constructor.

Parameters:
filterstring - filter for this listener.
listener - real listener.
Throws:
InvalidSyntaxException - if the filter is invalid.
Method Detail

serviceChanged

public void serviceChanged(ServiceEvent event)
Receive notification that a service has had a change occur in it's lifecycle.

Specified by:
serviceChanged in interface ServiceListener
Parameters:
event - The ServiceEvent.

toString

public java.lang.String toString()
Get the filter string used by this Filtered listener.

Overrides:
toString in class java.lang.Object
Returns:
The filter string used by this listener.