private static interface DependencyManager.Customizer<S,T> extends ServiceTrackerCustomizer<T,RefPair<S,T>,ExtendedServiceEvent>
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.Collection<RefPair<S,T>> |
getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount) |
boolean |
isSatisfied() |
boolean |
prebind(ComponentContextImpl<S> key)
attempt to obtain the services from the tracked service references that will be used in inital bind calls
before activation.
|
void |
setPreviousRefMap(java.util.Map<org.osgi.framework.ServiceReference<T>,RefPair<S,T>> previousRefMap) |
void |
setTracker(ServiceTracker<T,RefPair<S,T>,ExtendedServiceEvent> tracker) |
void |
setTrackerOpened() |
addedService, addingService, modifiedService, removedService
boolean prebind(ComponentContextImpl<S> key)
key
- TODOvoid close()
java.util.Collection<RefPair<S,T>> getRefs(java.util.concurrent.atomic.AtomicInteger trackingCount)
boolean isSatisfied()
void setTracker(ServiceTracker<T,RefPair<S,T>,ExtendedServiceEvent> tracker)
void setTrackerOpened()