org.springframework.osgi.service.importer.event
Class OsgiServiceDependencyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.osgi.service.importer.event.OsgiServiceDependencyEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OsgiServiceDependencyWaitEndedEvent, OsgiServiceDependencyWaitStartingEvent, OsgiServiceDependencyWaitTimedOutEvent

public abstract class OsgiServiceDependencyEvent
extends ApplicationEvent

Base event type used for sending dependencies notifications. Usually these are sent by Spring-DM OSGi importers.

Author:
Costin Leau
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
OsgiServiceDependencyEvent(Object source, OsgiServiceDependency dependency)
          Constructs a new OsgiServiceDependencyEvent instance.
 
Method Summary
 OsgiServiceDependency getServiceDependency()
          Returns the OSGi service dependency filter for which this event is triggered.
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OsgiServiceDependencyEvent

public OsgiServiceDependencyEvent(Object source,
                                  OsgiServiceDependency dependency)
Constructs a new OsgiServiceDependencyEvent instance.

Parameters:
source - event source (usually the service importer)
dependency - dependency description
Method Detail

getServiceDependency

public OsgiServiceDependency getServiceDependency()
Returns the OSGi service dependency filter for which this event is triggered.

Returns:
Returns the dependencyServiceFilter


Copyright © 2006-2009 Spring Framework. All Rights Reserved.