org.jboss.aop.standalone
Class Compiler
java.lang.Object
org.jboss.aop.standalone.Compiler
public class Compiler
- extends Object
takes jar or class files and adds needed jboss bytecode
- Version:
- $Revision: 79707 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verbose
public boolean verbose
suppress
public boolean suppress
optimized
public boolean optimized
loader
public static URLClassLoader loader
Compiler
public Compiler()
isJarFile
public boolean isJarFile(File src)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
usage
public void usage()
compile
public void compile(String[] args)
throws Exception
- Throws:
Exception
loadFile
public boolean loadFile(File file)
throws Exception
- Loads the file and, if it is an advised class, sets its advisor field as
accessible.
- Parameters:
file
- the file of the class to be loaded
- Returns:
true
is file
contains an advised class.
- Throws:
Exception
compileFile
public void compileFile(org.jboss.aop.standalone.Compiler.CompilerClassInfo info)
throws Exception
- Throws:
Exception
Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.