public class ServiceTCCLInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor
| Modifier and Type | Field and Description |
|---|---|
private static int |
hashCode |
private java.lang.ClassLoader |
loader
classloader to set the TCCL during invocation
|
| Constructor and Description |
|---|
ServiceTCCLInterceptor(java.lang.ClassLoader loader)
Constructs a new
OsgiServiceTCCLInterceptor instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
private java.lang.Object |
invokePrivileged(org.aopalliance.intercept.MethodInvocation invocation) |
private java.lang.Object |
invokeUnprivileged(org.aopalliance.intercept.MethodInvocation invocation) |
private static final int hashCode
private final java.lang.ClassLoader loader
public ServiceTCCLInterceptor(java.lang.ClassLoader loader)
OsgiServiceTCCLInterceptor instance.loader - classloader to use for TCCL during invocation. Can be null.public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorjava.lang.Throwableprivate java.lang.Object invokePrivileged(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
java.lang.Throwableprivate java.lang.Object invokeUnprivileged(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
java.lang.Throwablepublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object