class StaticServiceProxyCreator extends AbstractServiceProxyCreator
| Modifier and Type | Field and Description |
|---|---|
private boolean |
greedyProxying
greedy proxying mechanism
|
private boolean |
interfacesOnlyProxying
should greedy proxying consider just interfaces ?
|
private static org.apache.commons.logging.Log |
log |
private boolean |
useBlueprintExceptions
use SpringDM or Blueprint exceptions ?
|
bundleContext, classes, classLoader| Constructor and Description |
|---|
StaticServiceProxyCreator(java.lang.Class<?>[] classes,
java.lang.ClassLoader aopClassLoader,
java.lang.ClassLoader bundleClassLoader,
org.osgi.framework.BundleContext bundleContext,
ImportContextClassLoaderEnum iccl,
boolean greedyProxying,
boolean useBlueprintExceptions)
Constructs a new
StaticServiceProxyCreator instance. |
| Modifier and Type | Method and Description |
|---|---|
(package private) ServiceInvoker |
createDispatcherInterceptor(org.osgi.framework.ServiceReference reference)
Create a dispatcher interceptor that actually execute the call on the target service.
|
(package private) org.aopalliance.aop.Advice |
createServiceProviderTCCLAdvice(org.osgi.framework.ServiceReference reference)
Create service provider TCCL advice.
|
(package private) java.lang.Class<?>[] |
discoverProxyClasses(org.osgi.framework.ServiceReference ref)
Apply 'greedy' proxying by discovering the exposed classes.
|
(package private) java.lang.Class<?>[] |
getInterfaces(org.osgi.framework.ServiceReference reference) |
createServiceProxyprivate static final org.apache.commons.logging.Log log
private final boolean greedyProxying
private final boolean interfacesOnlyProxying
private final boolean useBlueprintExceptions
StaticServiceProxyCreator(java.lang.Class<?>[] classes,
java.lang.ClassLoader aopClassLoader,
java.lang.ClassLoader bundleClassLoader,
org.osgi.framework.BundleContext bundleContext,
ImportContextClassLoaderEnum iccl,
boolean greedyProxying,
boolean useBlueprintExceptions)
StaticServiceProxyCreator instance.classes - aopClassLoader - bundleContext - iccl - greedyProxying - ServiceInvoker createDispatcherInterceptor(org.osgi.framework.ServiceReference reference)
AbstractServiceProxyCreatorcreateDispatcherInterceptor in class AbstractServiceProxyCreatorreference - service referenceorg.aopalliance.aop.Advice createServiceProviderTCCLAdvice(org.osgi.framework.ServiceReference reference)
AbstractServiceProxyCreatorcreateServiceProviderTCCLAdvice in class AbstractServiceProxyCreatorreference - service referencejava.lang.Class<?>[] discoverProxyClasses(org.osgi.framework.ServiceReference ref)
ref - java.lang.Class<?>[] getInterfaces(org.osgi.framework.ServiceReference reference)
getInterfaces in class AbstractServiceProxyCreator