org.jboss.errai
Class ClientLocalClassHidingAgent
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientLocalClassHidingAgent
public ClientLocalClassHidingAgent()
premain
public static void premain(String agentArgs,
Instrumentation inst)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.