com.jproxy.proxy.server
Class SynchronousInvocator

java.lang.Object
  |
  +--com.jproxy.proxy.util.ThreadSupport
        |
        +--com.jproxy.proxy.ProxyHashtable
              |
              +--com.jproxy.proxy.Invocator
                    |
                    +--com.jproxy.proxy.server.SynchronousInvocator
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class SynchronousInvocator
extends Invocator

See Also:
Serialized Form

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

Constructor Detail

SynchronousInvocator

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

getClassLoader

public java.lang.ClassLoader getClassLoader()
The TunnelClassLoader used by bytecode stub generator.

newBytecodeProxy

public java.lang.Object newBytecodeProxy(TunnelInvocationHandler handler)
                                  throws TunnelException

newDynamicProxy

public java.lang.Object newDynamicProxy(TunnelInvocationHandler baseHandler)
                                 throws TunnelException
It obtains stub using Dynamic Proxy Class reflection API extension of Sun's JDK 1.3
Parameters:
handler - for which stub is requested

newProxy

public java.lang.Object newProxy(TunnelInvocationHandler handler,
                                 boolean isDynamicProxy)
                          throws TunnelException
The implemntation of Invocator class.
Overrides:
newProxy in class Invocator
Parameters:
handler - for which stub is requested

createTunnel

public Tunnel createTunnel()
Overrides:
createTunnel in class Invocator

newDirectProxy

public java.lang.Object newDirectProxy(TunnelInvocationHandler handler,
                                       boolean isDynamicProxy)
                                throws TunnelException


Copyright © JProxy LLC. All Rights Reserved.