com.jproxy.proxy
Class CallbackInvocator

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

public class CallbackInvocator
extends Invocator

The CallbackInvocator class implements Invocator class. The class is responible for generation of stub for remote object.

See Also:
Invocator, TunnelInvocationHandler, com.jproxy.proxy.InvocatorHashtable, Serialized Form

Field Summary
 
Fields inherited from class com.jproxy.proxy.ProxyHashtable
hashtable, invocationInterceptorClass, sessionHash
 
Fields inherited from class com.jproxy.proxy.util.ThreadSupport
threads
 
Constructor Summary
CallbackInvocator(Tunnel tunnel)
          constructs CallbackInvocator instance
 
Method Summary
 Tunnel createTunnel()
           
 java.lang.Object newProxy(TunnelInvocationHandler baseHandler, boolean isDynamicProxy, java.lang.String codebase)
          The implemntation of Invocator class.
 HashObject remove(long objectId)
          Removes object from hashtable by specified id key value.
 
Methods inherited from class com.jproxy.proxy.Invocator
addClassLoader, call, correctInputObject, correctOutputObject, createHashObject, createHashObject, destroy, getClassLoader, getClassLoaders, getInvocator, invokeAll, invokeOne, newProxy
 
Methods inherited from class com.jproxy.proxy.ProxyHashtable
addSessionObject, create, get, getSessionObjects, keys, 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
 

Constructor Detail

CallbackInvocator

public CallbackInvocator(Tunnel tunnel)
constructs CallbackInvocator instance

Method Detail

newProxy

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

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

createTunnel

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

remove

public HashObject remove(long objectId)
Description copied from class: ProxyHashtable
Removes object from hashtable by specified id key value.

Overrides:
remove in class ProxyHashtable
Parameters:
objectId - id of the object that must be removed from a hashtable


Copyright © JProxy LLC. All Rights Reserved.