stomp.service.remote
Class RemoteServiceLayer

java.lang.Object
  |
  +--stomp.service.remote.RemoteServiceLayer
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class RemoteServiceLayer
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Proxy that provides remote-ness service to JDO ( and other ) objects. This object Serializes it's wrapped object and moves it to some other computer, then makes all calls on the proxy remote calls to this instance.

Author:
Eric Lindauer

Constructor Summary
RemoteServiceLayer(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

RemoteServiceLayer

public RemoteServiceLayer(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)