org.springframework.social.evernote.api.impl
Class ThriftWrapperInterceptor

java.lang.Object
  extended by org.springframework.social.evernote.api.impl.ThriftWrapperInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class ThriftWrapperInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor

Proxy interceptor that wraps a returned thrift object to have null-safe-collections.

Author:
Tadaya Tsuyukubo

Constructor Summary
ThriftWrapperInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftWrapperInterceptor

public ThriftWrapperInterceptor()
Method Detail

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable


Copyright © 2014. All Rights Reserved.