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

Constructor Summary
BenchServiceLayer(ServiceEnabled object)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args)
          provides any services this request requires, then passes the method on to the wrapped object for further handling.
static ServiceEnabled newInstance(ServiceEnabled object)
           
static ServiceEnabled newInstance(ServiceEnabled object, java.lang.Class[] interfaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BenchServiceLayer

public BenchServiceLayer(ServiceEnabled object)
Method Detail

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)