public class DependentComponentFactoryRecipe extends ComponentFactoryRecipe<DependentComponentFactoryMetadata> implements SatisfiableRecipe, DependentComponentFactoryMetadata.SatisfactionCallback
SatisfiableRecipe.SatisfactionListener
name, prototype
Constructor and Description |
---|
DependentComponentFactoryRecipe(String name,
DependentComponentFactoryMetadata metadata,
ExtendedBlueprintContainer container,
List<Recipe> dependencies) |
Modifier and Type | Method and Description |
---|---|
String |
getOsgiFilter() |
boolean |
isSatisfied() |
void |
notifyChanged()
Alert the container that the satisfaction status has changed.
|
void |
start(SatisfiableRecipe.SatisfactionListener listener) |
void |
stop() |
destroy, getDependencies, getMetadata, internalCreate
addPartialObject, canConvert, convert, convert, create, getConstructorDependencies, getName, isPrototype, loadClass, loadType, loadType, setPrototype, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, destroy, getConstructorDependencies, getDependencies, getName
public DependentComponentFactoryRecipe(String name, DependentComponentFactoryMetadata metadata, ExtendedBlueprintContainer container, List<Recipe> dependencies)
public String getOsgiFilter()
getOsgiFilter
in interface SatisfiableRecipe
public boolean isSatisfied()
isSatisfied
in interface SatisfiableRecipe
public void start(SatisfiableRecipe.SatisfactionListener listener)
start
in interface SatisfiableRecipe
public void stop()
stop
in interface SatisfiableRecipe
public void notifyChanged()
DependentComponentFactoryMetadata.SatisfactionCallback
notifyChanged
in interface DependentComponentFactoryMetadata.SatisfactionCallback
Copyright © 2018. All rights reserved.