org.apache.aries.blueprint.di
Class DependentComponentFactoryRecipe
java.lang.Object
org.apache.aries.blueprint.di.AbstractRecipe
org.apache.aries.blueprint.di.ComponentFactoryRecipe<DependentComponentFactoryMetadata>
org.apache.aries.blueprint.di.DependentComponentFactoryRecipe
- All Implemented Interfaces:
- SatisfiableRecipe, Recipe, DependentComponentFactoryMetadata.SatisfactionCallback
public class DependentComponentFactoryRecipe
- extends ComponentFactoryRecipe<DependentComponentFactoryMetadata>
- implements SatisfiableRecipe, DependentComponentFactoryMetadata.SatisfactionCallback
Extends ComponentFactoryRecipe to support the dependency management (SatisfiableRecipe) for custom
bean managers (DependentComponentFactoryMetadata instances in this case).
Methods inherited from class org.apache.aries.blueprint.di.AbstractRecipe |
addPartialObject, convert, convert, create, getConstructorDependencies, getName, isPrototype, loadClass, loadType, loadType, setPrototype, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DependentComponentFactoryRecipe
public DependentComponentFactoryRecipe(java.lang.String name,
DependentComponentFactoryMetadata metadata,
ExtendedBlueprintContainer container,
java.util.List<Recipe> dependencies)
getOsgiFilter
public java.lang.String getOsgiFilter()
- Specified by:
getOsgiFilter
in interface SatisfiableRecipe
isSatisfied
public boolean isSatisfied()
- Specified by:
isSatisfied
in interface SatisfiableRecipe
start
public void start(SatisfiableRecipe.SatisfactionListener listener)
- Specified by:
start
in interface SatisfiableRecipe
stop
public void stop()
- Specified by:
stop
in interface SatisfiableRecipe
notifyChanged
public void notifyChanged()
- Description copied from interface:
DependentComponentFactoryMetadata.SatisfactionCallback
- Alert the container that the satisfaction status has changed. isSatisfied() should reflect this.
- Specified by:
notifyChanged
in interface DependentComponentFactoryMetadata.SatisfactionCallback
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.