Errai 3.0.1-SNAPSHOT

org.jboss.errai
Class ClientLocalClassHidingAgent

java.lang.Object
  extended by org.jboss.errai.ClientLocalClassHidingAgent

public class ClientLocalClassHidingAgent
extends Object

A Java Agent that ensures all attempts at loading a class whose package and name match a particular pattern end up loading a trivial subclass of java.lang.Object.

The motivation for creating this agent was to hide GWT client-local classes from app servers: attempts to load these classes run into several kinds of dependency resolution problems: client-side GWT API that does not exist on the server, as well as missing native methods for JSNI.


Constructor Summary
ClientLocalClassHidingAgent()
           
 
Method Summary
static void premain(String agentArgs, Instrumentation inst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientLocalClassHidingAgent

public ClientLocalClassHidingAgent()
Method Detail

premain

public static void premain(String agentArgs,
                           Instrumentation inst)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.