public class DefaultServiceTrackingInterceptor extends DefaultDependencyInterceptor implements ServiceTrackingInterceptor
dependenciesTARGET_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, openclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, openpublic <S> TransformedServiceReference<S> accept(DependencyModel dependency, org.osgi.framework.BundleContext context, TransformedServiceReference<S> ref)
accept in interface ServiceTrackingInterceptorS - 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.