com.jproxy.proxy
Class SynchronousInvocator

java.lang.Object
  extended bycom.jproxy.proxy.util.ThreadSupport
      extended bycom.jproxy.proxy.ProxyHashtable
          extended bycom.jproxy.proxy.Invocator
              extended bycom.jproxy.proxy.SynchronousInvocator
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class SynchronousInvocator
extends Invocator

See Also:
Serialized Form

Field Summary
static java.util.Properties context2PathMap
           
 
Fields inherited from class com.jproxy.proxy.ProxyHashtable
hashtable, invocationInterceptorClass, sessionHash
 
Fields inherited from class com.jproxy.proxy.util.ThreadSupport
threads
 
Constructor Summary
SynchronousInvocator(Tunnel tunnel)
           
 
Method Summary
 Tunnel createTunnel()
           
 java.lang.ClassLoader getClassLoader(java.lang.String codebase)
          The TunnelClassLoader used by bytecode stub generator.
 java.lang.Object newBytecodeProxy(TunnelInvocationHandler baseHandler, java.lang.String codebase)
           
 java.lang.Object newDynamicProxy(TunnelInvocationHandler baseHandler, java.lang.String codebase)
          It obtains stub using Dynamic Proxy Class reflection API extension of Sun's JDK 1.3
 java.lang.Object newProxy(TunnelInvocationHandler handler, boolean isDynamicProxy, java.lang.String codebase)
          The implemntation of Invocator class.
 
Methods inherited from class com.jproxy.proxy.Invocator
addClassLoader, call, correctInputObject, correctOutputObject, createHashObject, createHashObject, destroy, getClassLoaders, getInvocator, invokeAll, invokeOne, newProxy
 
Methods inherited from class com.jproxy.proxy.ProxyHashtable
addSessionObject, create, get, getSessionObjects, keys, remove, removeAll, removeSessionObject, updateLicense, updateSession, values
 
Methods inherited from class com.jproxy.proxy.util.ThreadSupport
getThread, isRunning, isStopping, run, start, stop, stop, stopAll
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context2PathMap

public static java.util.Properties context2PathMap
Constructor Detail

SynchronousInvocator

public SynchronousInvocator(Tunnel tunnel)
                     throws java.lang.Throwable
Method Detail

getClassLoader

public java.lang.ClassLoader getClassLoader(java.lang.String codebase)
Description copied from class: Invocator
The TunnelClassLoader used by bytecode stub generator.

Overrides:
getClassLoader in class Invocator

newBytecodeProxy

public java.lang.Object newBytecodeProxy(TunnelInvocationHandler baseHandler,
                                         java.lang.String codebase)
                                  throws TunnelException
Throws:
TunnelException

newDynamicProxy

public java.lang.Object newDynamicProxy(TunnelInvocationHandler baseHandler,
                                        java.lang.String codebase)
                                 throws TunnelException
It obtains stub using Dynamic Proxy Class reflection API extension of Sun's JDK 1.3

Throws:
TunnelException

newProxy

public java.lang.Object newProxy(TunnelInvocationHandler handler,
                                 boolean isDynamicProxy,
                                 java.lang.String codebase)
                          throws TunnelException
The implemntation of Invocator class.

Specified by:
newProxy in class Invocator
Parameters:
handler - for which stub is requested
Throws:
TunnelException

createTunnel

public Tunnel createTunnel()
Specified by:
createTunnel in class Invocator


Copyright © JProxy LLC. All Rights Reserved.