org.springframework.osgi.service.dependency
Interface MandatoryDependencyListener


public interface MandatoryDependencyListener

Internal framework listener notified when a mandatory service importer comes up or down (that is, becomes satisfied or not).

Author:
Costin Leau

Method Summary
 void mandatoryDependencySatisfied(MandatoryDependencyEvent event)
          Called when a mandatory dependency for an importer has been satisfied.
 void mandatoryDependencyUnsatisfied(MandatoryDependencyEvent event)
          Called when a mandatory dependency for an importer has been unsatisfied.
 

Method Detail

mandatoryDependencySatisfied

void mandatoryDependencySatisfied(MandatoryDependencyEvent event)
Called when a mandatory dependency for an importer has been satisfied. This method is called only if the dependency has been unsatisfied before.

Parameters:
event - mandatory dependency notification
See Also:
mandatoryDependencyUnsatisfied(MandatoryDependencyEvent)

mandatoryDependencyUnsatisfied

void mandatoryDependencyUnsatisfied(MandatoryDependencyEvent event)
Called when a mandatory dependency for an importer has been unsatisfied. This method is called only if the dependency was satisfied before.

Parameters:
event - dependency notification
See Also:
mandatoryDependencySatisfied(MandatoryDependencyEvent)


Copyright 2006-2008 Spring Framework. All Rights Reserved.