org.apache.commons.proxy.interceptor
Class SerializingInterceptor
java.lang.Object
org.apache.commons.proxy.interceptor.SerializingInterceptor
- All Implemented Interfaces:
- Interceptor
public class SerializingInterceptor
- extends Object
- implements Interceptor
An interceptor which makes a serialized copy of all parameters and return values. This
is useful when testing remote services to ensure that all parameter/return types
are in fact serializable/deserializable.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializingInterceptor
public SerializingInterceptor()
intercept
public Object intercept(Invocation invocation)
throws Throwable
- Specified by:
intercept
in interface Interceptor
- Throws:
Throwable
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.