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:
- EventListener, SatisfiableRecipe, Recipe, org.osgi.framework.ServiceListener
public class ReferenceListRecipe
- extends AbstractServiceReferenceRecipe
A recipe to create a managed collection of service references
- Version:
- $Rev: 1352904 $, $Date: 2012-06-22 15:36:37 +0100 (Fri, 22 Jun 2012) $
Methods inherited from class org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe |
bind, createListeners, createProxy, doStop, getBestServiceReference, getBundleContextForServiceLookup, getConstructorDependencies, getDependencies, getInterfaceClass, getListenersRecipe, getOsgiFilter, getRuntimeClass, getServiceReferences, getServiceSecurely, isSatisfied, isStarted, loadAllClasses, loadType, serviceChanged, setSatisfied, start, stop, unbind, updateListeners |
Methods inherited from class org.apache.aries.blueprint.di.AbstractRecipe |
addPartialObject, canConvert, convert, convert, create, destroy, getName, isPrototype, loadClass, loadType, setPrototype, toString |
ReferenceListRecipe
public ReferenceListRecipe(String name,
ExtendedBlueprintContainer blueprintContainer,
org.osgi.service.blueprint.reflect.ReferenceListMetadata metadata,
CollectionRecipe listenersRecipe,
List<Recipe> explicitDependencies)
internalCreate
protected Object internalCreate()
throws org.osgi.service.blueprint.container.ComponentDefinitionException
- Specified by:
internalCreate
in class AbstractRecipe
- Throws:
org.osgi.service.blueprint.container.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-2012 The Apache Software Foundation. All Rights Reserved.