org.eclipse.gemini.blueprint.service.importer.support.internal.aop
Class ServiceProviderTCCLInterceptor
java.lang.Object
org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class ServiceProviderTCCLInterceptor
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor
Special Thread Context ClassLoading handling interceptor dealing with "service-provided" case, in which the backing
service reference can be updated which requires update of the classloader used as TCCL.
This interceptor requires registration of a dedicated OsgiServiceLifecycleListener
which updates the
classloader used.
- Author:
- Costin Leau
ServiceProviderTCCLInterceptor
public ServiceProviderTCCLInterceptor()
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2006-2012. All Rights Reserved.