stomp.service.bench
Class BenchServiceLayer
java.lang.Object
|
+--stomp.service.bench.BenchServiceLayer
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler, java.io.Serializable
- public class BenchServiceLayer
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler, java.io.Serializable
Proxy that provides benchmarking services to delegates.
- Author:
- Eric Lindauer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BenchServiceLayer
public BenchServiceLayer(ServiceEnabled object)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
throws java.lang.Throwable
- provides any services this request requires, then passes the method on to the
wrapped object for further handling.
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
newInstance
public static ServiceEnabled newInstance(ServiceEnabled object)
newInstance
public static ServiceEnabled newInstance(ServiceEnabled object,
java.lang.Class[] interfaces)