Package | Description |
---|---|
org.apache.felix.scr.impl.inject | |
org.apache.felix.scr.impl.manager |
Modifier and Type | Field and Description |
---|---|
private RefPair<?,?> |
BindParameters.refPair |
Modifier and Type | Method and Description |
---|---|
RefPair |
BindParameters.getRefPair() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.Object |
ValueUtils.getLogger(java.lang.String componentType,
java.lang.Class<?> targetType,
ComponentContextImpl componentContext,
RefPair<?,?> refPair) |
static java.lang.Object |
ValueUtils.getValue(java.lang.String componentType,
ValueUtils.ValueType type,
java.lang.Class<?> targetType,
ComponentContextImpl componentContext,
RefPair<?,?> refPair)
Get the value for the value type
|
Constructor and Description |
---|
BindParameters(ComponentContextImpl<?> componentContext,
RefPair<?,?> refPair) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPrototypeRefPair<S,T> |
class |
MultiplePrototypeRefPair<S,T> |
class |
SinglePrototypeRefPair<S,T> |
class |
SingleRefPair<S,T> |
Modifier and Type | Field and Description |
---|---|
private RefPair<S,T> |
DependencyManager.MultipleDynamicCustomizer.lastRefPair |
private RefPair<S,T> |
DependencyManager.SingleDynamicCustomizer.refPair |
private RefPair<S,T> |
DependencyManager.SingleStaticCustomizer.refPair |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.util.Map<RefPair<?,?>,java.lang.Object>> |
ComponentContextImpl.boundValues
Mapping of ref pairs to value bound
|
private java.util.Map<org.osgi.framework.ServiceReference<T>,RefPair<S,T>> |
DependencyManager.AbstractCustomizer.EMPTY_REF_MAP |
private ServiceTracker<T,RefPair<S,T>,ExtendedServiceEvent> |
DependencyManager.m_tracker |
private java.util.Map<org.osgi.framework.ServiceReference<T>,RefPair<S,T>> |
DependencyManager.AbstractCustomizer.previousRefMap |
private java.util.concurrent.atomic.AtomicReference<java.util.Collection<RefPair<S,T>>> |
DependencyManager.MultipleStaticReluctantCustomizer.refs |
Modifier and Type | Method and Description |
---|---|
RefPair<S,T> |
DependencyManager.FactoryCustomizer.addingService(org.osgi.framework.ServiceReference<T> serviceReference) |
RefPair<S,T> |
DependencyManager.MultipleDynamicCustomizer.addingService(org.osgi.framework.ServiceReference<T> serviceReference) |
RefPair<S,T> |
DependencyManager.MultipleStaticGreedyCustomizer.addingService(org.osgi.framework.ServiceReference<T> serviceReference) |
RefPair<S,T> |
DependencyManager.MultipleStaticReluctantCustomizer.addingService(org.osgi.framework.ServiceReference<T> serviceReference) |
RefPair<S,T> |
DependencyManager.SingleDynamicCustomizer.addingService(org.osgi.framework.ServiceReference<T> serviceReference) |
RefPair<S,T> |
DependencyManager.SingleStaticCustomizer.addingService(org.osgi.framework.ServiceReference<T> serviceReference) |
RefPair<S,T> |
DependencyManager.NoPermissionsCustomizer.addingService(org.osgi.framework.ServiceReference<T> tServiceReference) |
private RefPair<S,T> |
DependencyManager.getBestRefPair()
Returns a
ServiceReference instances for a service
implementing the interface and complying to the (optional) target filter
declared for this dependency. |
private RefPair<S,T> |
DependencyManager.getRefPair(org.osgi.framework.ServiceReference<T> serviceReference)
Returns the RefPair containing the given service reference and the bound service
or
null if this is instance is not currently bound to that
service. |
(package private) RefPair<S,T> |
DependencyManager.newRefPair(org.osgi.framework.ServiceReference<T> serviceReference) |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<RefPair<?,?>,java.lang.Object> |
ComponentContextImpl.createNewFieldHandlerMap() |
java.util.Map<RefPair<?,?>,java.lang.Object> |
ComponentContextImpl.getBoundValues(java.lang.String key) |
protected java.util.Map<org.osgi.framework.ServiceReference<T>,RefPair<S,T>> |
DependencyManager.AbstractCustomizer.getPreviousRefMap() |
java.util.Collection<RefPair<S,T>> |
DependencyManager.Customizer.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
java.util.Collection<RefPair<S,T>> |
DependencyManager.FactoryCustomizer.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
java.util.Collection<RefPair<S,T>> |
DependencyManager.MultipleDynamicCustomizer.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
java.util.Collection<RefPair<S,T>> |
DependencyManager.MultipleStaticGreedyCustomizer.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
java.util.Collection<RefPair<S,T>> |
DependencyManager.MultipleStaticReluctantCustomizer.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
java.util.Collection<RefPair<S,T>> |
DependencyManager.SingleDynamicCustomizer.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
java.util.Collection<RefPair<S,T>> |
DependencyManager.SingleStaticCustomizer.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
java.util.Collection<RefPair<S,T>> |
DependencyManager.NoPermissionsCustomizer.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
java.util.Collection<RefPair<S,T>> |
DependencyManager.OpenStatus.getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
protected ServiceTracker<T,RefPair<S,T>,ExtendedServiceEvent> |
DependencyManager.AbstractCustomizer.getTracker() |
(package private) java.util.SortedMap<org.osgi.framework.ServiceReference<T>,RefPair<S,T>> |
DependencyManager.unregisterServiceListener(java.util.concurrent.atomic.AtomicInteger trackingCount) |
Modifier and Type | Method and Description |
---|---|
void |
DependencyManager.FactoryCustomizer.addedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
int serviceCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleDynamicCustomizer.addedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
int serviceCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleStaticGreedyCustomizer.addedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
int serviceCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleStaticReluctantCustomizer.addedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
int serviceCount,
ExtendedServiceEvent event) |
void |
DependencyManager.SingleDynamicCustomizer.addedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
int serviceCount,
ExtendedServiceEvent event) |
void |
DependencyManager.SingleStaticCustomizer.addedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
int serviceCount,
ExtendedServiceEvent event) |
void |
DependencyManager.NoPermissionsCustomizer.addedService(org.osgi.framework.ServiceReference<T> tServiceReference,
RefPair<S,T> service,
int trackingCount,
int serviceCount,
ExtendedServiceEvent event) |
private boolean |
DependencyManager.doInvokeBindMethod(ComponentContextImpl<S> componentContext,
ReferenceMethod bindMethod,
RefPair<S,T> refPair,
int trackingCount) |
private T |
DependencyManager.getService(ComponentContextImpl<S> key,
RefPair<S,T> refPair) |
(package private) boolean |
DependencyManager.getServiceObject(ComponentContextImpl<S> key,
ReferenceMethod bindMethod,
RefPair<S,T> refPair) |
(package private) boolean |
DependencyManager.invokeBindMethod(ComponentContextImpl<S> componentContext,
RefPair<S,T> refPair,
int trackingCount,
EdgeInfo info)
Calls the bind method.
|
(package private) <T> void |
ServiceFactoryComponentManager.invokeBindMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> refPair,
int trackingCount) |
(package private) <T> void |
ComponentFactoryImpl.invokeBindMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> reference,
int trackingCount) |
(package private) abstract <T> void |
AbstractComponentManager.invokeBindMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> refPair,
int trackingCount) |
(package private) <T> void |
SingleComponentManager.invokeBindMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> refPair,
int trackingCount) |
(package private) void |
DependencyManager.invokeUnbindMethod(ComponentContextImpl<S> componentContext,
RefPair<S,T> refPair,
int trackingCount,
EdgeInfo info)
Calls the unbind method.
|
(package private) <T> void |
ServiceFactoryComponentManager.invokeUnbindMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> oldRefPair,
int trackingCount) |
(package private) <T> void |
ComponentFactoryImpl.invokeUnbindMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> oldRef,
int trackingCount) |
(package private) abstract <T> void |
AbstractComponentManager.invokeUnbindMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> oldRefPair,
int trackingCount) |
(package private) <T> void |
SingleComponentManager.invokeUnbindMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> oldRefPair,
int trackingCount) |
(package private) boolean |
DependencyManager.invokeUpdatedMethod(ComponentContextImpl<S> componentContext,
RefPair<S,T> refPair,
int trackingCount,
EdgeInfo info)
Calls the updated method.
|
(package private) <T> boolean |
ServiceFactoryComponentManager.invokeUpdatedMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> refPair,
int trackingCount) |
(package private) <T> boolean |
ComponentFactoryImpl.invokeUpdatedMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> ref,
int trackingCount) |
(package private) abstract <T> boolean |
AbstractComponentManager.invokeUpdatedMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> refPair,
int trackingCount)
Invoke updated method
|
(package private) <T> boolean |
SingleComponentManager.invokeUpdatedMethod(DependencyManager<S,T> dependencyManager,
RefPair<S,T> refPair,
int trackingCount) |
void |
DependencyManager.FactoryCustomizer.modifiedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleDynamicCustomizer.modifiedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleStaticGreedyCustomizer.modifiedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleStaticReluctantCustomizer.modifiedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.SingleDynamicCustomizer.modifiedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.SingleStaticCustomizer.modifiedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.NoPermissionsCustomizer.modifiedService(org.osgi.framework.ServiceReference<T> tServiceReference,
RefPair<S,T> service,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.FactoryCustomizer.removedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleDynamicCustomizer.removedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleStaticGreedyCustomizer.removedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.MultipleStaticReluctantCustomizer.removedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.SingleDynamicCustomizer.removedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.SingleStaticCustomizer.removedService(org.osgi.framework.ServiceReference<T> serviceReference,
RefPair<S,T> refPair,
int trackingCount,
ExtendedServiceEvent event) |
void |
DependencyManager.NoPermissionsCustomizer.removedService(org.osgi.framework.ServiceReference<T> tServiceReference,
RefPair<S,T> service,
int trackingCount,
ExtendedServiceEvent event) |
protected void |
DependencyManager.AbstractCustomizer.ungetService(RefPair<S,T> ref) |
Modifier and Type | Method and Description |
---|---|
void |
DependencyManager.Customizer.setPreviousRefMap(java.util.Map<org.osgi.framework.ServiceReference<T>,RefPair<S,T>> previousRefMap) |
void |
DependencyManager.AbstractCustomizer.setPreviousRefMap(java.util.Map<org.osgi.framework.ServiceReference<T>,RefPair<S,T>> previousRefMap) |
void |
DependencyManager.NoPermissionsCustomizer.setPreviousRefMap(java.util.Map<org.osgi.framework.ServiceReference<T>,RefPair<S,T>> previousRefMap) |
void |
DependencyManager.Customizer.setTracker(ServiceTracker<T,RefPair<S,T>,ExtendedServiceEvent> tracker) |
void |
DependencyManager.AbstractCustomizer.setTracker(ServiceTracker<T,RefPair<S,T>,ExtendedServiceEvent> tracker) |
void |
DependencyManager.NoPermissionsCustomizer.setTracker(ServiceTracker<T,RefPair<S,T>,ExtendedServiceEvent> tRefPairServiceTracker) |