public class Compiler extends Object
Modifier and Type | Field and Description |
---|---|
static URLClassLoader |
loader |
boolean |
optimized |
boolean |
suppress |
boolean |
verbose |
Constructor and Description |
---|
Compiler() |
Modifier and Type | Method and Description |
---|---|
void |
compile(String[] args) |
void |
compileFile(org.jboss.aop.standalone.Compiler.CompilerClassInfo info) |
boolean |
isJarFile(File src) |
boolean |
loadFile(File file)
Loads the file and, if it is an advised class, sets its advisor field as
accessible.
|
static void |
main(String[] args) |
void |
usage() |
public boolean verbose
public boolean suppress
public boolean optimized
public static URLClassLoader loader
public boolean isJarFile(File src)
public void usage()
public boolean loadFile(File file) throws Exception
file
- the file of the class to be loadedtrue
is file
contains an advised class.Exception
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.