final Method interceptorMethod = ReflectionUtils.findMethod(CountingMethodInterceptor.class, "countInvocation", ProceedingJoinPoint.class);
final AspectJAroundAdvice aspectJAroundAdvice = new AspectJAroundAdvice(
interceptorMethod,
repositoryPointcutInterfaceExecutionPointcut,
new SingletonAspectInstanceFactory(this.countingMethodInterceptor));
portletPreferencesProxyFactory.addAdvice(aspectJAroundAdvice);
final RepositoryPointcutInterface proxiedPointcutInterface = (RepositoryPointcutInterface) portletPreferencesProxyFactory.getProxy();