de.netseeker.ejoe.handler
Class AssistedRemotingHandler

java.lang.Object
  extended by de.netseeker.ejoe.handler.BaseRemotingHandler
      extended by de.netseeker.ejoe.handler.AssistedRemotingHandler
All Implemented Interfaces:
ClassRegistry, ServerHandler, java.io.Serializable

public class AssistedRemotingHandler
extends BaseRemotingHandler

A remoting handler which does use dynamically generated proxies instead of reflection for method invocations. A underlying implementation of DynProxyGenerator will create a new proxy class for each class-method-arguments combination and reuse that proxy class for all following invocations of that method (or constructor).

Since:
0.3.9.1
Author:
netseeker
See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.netseeker.ejoe.handler.BaseRemotingHandler
classCache
 
Constructor Summary
AssistedRemotingHandler()
          Creates a new AssistedRemotingHandler using the Javassist based DynProxyGenerator
AssistedRemotingHandler(IProxyGenerator generator)
          Creates a new AssistedRemotingHandler using a custom IProxyGenerator
 
Method Summary
 
Methods inherited from class de.netseeker.ejoe.handler.BaseRemotingHandler
deRegisterClassMapping, getClassByName, getPrimitiveForWrapper, getWrapperForPrimitive, handle, registerClassMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssistedRemotingHandler

public AssistedRemotingHandler()
Creates a new AssistedRemotingHandler using the Javassist based DynProxyGenerator

See Also:
DynProxyGenerator

AssistedRemotingHandler

public AssistedRemotingHandler(IProxyGenerator generator)
Creates a new AssistedRemotingHandler using a custom IProxyGenerator

Parameters:
generator - the proxy generator to use


Copyright © 2005-2007 netseeker. All Rights Reserved.