org.apache.aries.blueprint.container
Class ReferenceListRecipe
java.lang.Object
org.apache.aries.blueprint.di.AbstractRecipe
org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe
org.apache.aries.blueprint.container.ReferenceListRecipe
- All Implemented Interfaces:
- java.util.EventListener, SatisfiableRecipe, Recipe, org.osgi.framework.ServiceListener
public class ReferenceListRecipe
- extends AbstractServiceReferenceRecipe
A recipe to create a managed collection of service references
- Version:
- $Rev: 1030761 $, $Date: 2010-11-03 23:48:47 +0000 (Wed, 03 Nov 2010) $
Methods inherited from class org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe |
bind, createListeners, createProxy, doStop, getBestServiceReference, getConstructorDependencies, getDependencies, getInterfaceClass, getListenersRecipe, getOsgiFilter, getRuntimeClass, getServiceReferences, isSatisfied, isStarted, loadAllClasses, loadType, serviceChanged, setSatisfied, start, stop, unbind, updateListeners |
Methods inherited from class org.apache.aries.blueprint.di.AbstractRecipe |
addPartialObject, convert, convert, create, destroy, getName, isPrototype, loadClass, loadType, setPrototype, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReferenceListRecipe
public ReferenceListRecipe(java.lang.String name,
ExtendedBlueprintContainer blueprintContainer,
ReferenceListMetadata metadata,
CollectionRecipe listenersRecipe,
java.util.List<Recipe> explicitDependencies)
internalCreate
protected java.lang.Object internalCreate()
throws ComponentDefinitionException
- Specified by:
internalCreate
in class AbstractRecipe
- Throws:
ComponentDefinitionException
retrack
protected void retrack()
- Specified by:
retrack
in class AbstractServiceReferenceRecipe
track
protected void track(org.osgi.framework.ServiceReference reference)
- Specified by:
track
in class AbstractServiceReferenceRecipe
untrack
protected void untrack(org.osgi.framework.ServiceReference reference)
- Specified by:
untrack
in class AbstractServiceReferenceRecipe
findDispatcher
protected ReferenceListRecipe.ServiceDispatcher findDispatcher(org.osgi.framework.ServiceReference reference)
getManagedCollection
protected ReferenceListRecipe.ManagedCollection getManagedCollection(boolean useReferences)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.