public class DefaultServiceTrackingInterceptor extends DefaultDependencyInterceptor implements ServiceTrackingInterceptor
dependencies
TARGET_PROPERTY
Constructor and Description |
---|
DefaultServiceTrackingInterceptor() |
Modifier and Type | Method and Description |
---|---|
<S> TransformedServiceReference<S> |
accept(DependencyModel dependency,
org.osgi.framework.BundleContext context,
TransformedServiceReference<S> ref)
Default implementation of the accept method.
|
void |
invalidateMatchingServices()
Notifies the managed dependencies of a change in the set of services accepted by this interceptor.
|
close, open
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, open
public <S> TransformedServiceReference<S> accept(DependencyModel dependency, org.osgi.framework.BundleContext context, TransformedServiceReference<S> ref)
accept
in interface ServiceTrackingInterceptor
S
- the type of servicedependency
- the dependency the dependencycontext
- the context of the dependency the bundle context used by the dependencyref
- the reference the reference to accept, transform or rejectpublic void invalidateMatchingServices()
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.