org.curjent.impl.agent
Class Factory
java.lang.Object
org.curjent.impl.agent.Factory
- Direct Known Subclasses:
- MessageFactory, ProxyFactory
abstract class Factory
- extends Object
Base class for the proxy and message factories. Implements some common
utility methods.
Field Summary |
private static boolean |
SAVE
Debug flag to save generated classes to the file system. |
Method Summary |
protected static void |
save(String name,
byte[] bytes)
Saves a generated class file to disk. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAVE
private static final boolean SAVE
- Debug flag to save generated classes to the file system.
- See Also:
save(String, byte[])
,
Constant Field Values
Factory
Factory()
save
protected static void save(String name,
byte[] bytes)
throws Exception
- Saves a generated class file to disk. Saved to a directory named "dump"
in the current working directory.
- Throws:
Exception
- See Also:
SAVE
Copyright 2009-2011 Tom Landon
Apache License 2.0