org.apache.aries.blueprint.container
Interface SatisfiableRecipe

All Superinterfaces:
Recipe
All Known Implementing Classes:
AbstractServiceReferenceRecipe, DependentComponentFactoryRecipe, ReferenceListRecipe, ReferenceRecipe

public interface SatisfiableRecipe
extends Recipe

Interface used to describe an object which can satisfy a constraint or not. If the state of the object changes, registered SatisfactionListener objects will be notified of the change.

Version:
$Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

Nested Class Summary
static interface SatisfiableRecipe.SatisfactionListener
          A listener that will be notified when the constraint satisfaction changes.
 
Method Summary
 java.lang.String getOsgiFilter()
           
 boolean isSatisfied()
           
 void start(SatisfiableRecipe.SatisfactionListener listener)
           
 void stop()
           
 
Methods inherited from interface org.apache.aries.blueprint.di.Recipe
create, destroy, getConstructorDependencies, getDependencies, getName
 

Method Detail

start

void start(SatisfiableRecipe.SatisfactionListener listener)

stop

void stop()

isSatisfied

boolean isSatisfied()

getOsgiFilter

java.lang.String getOsgiFilter()


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.