| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
CacheableJdkCompiler.LoadableClassLoader |
| 构造器和说明 |
|---|
CacheableJdkCompiler(Compiler compiler) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
cache(String className,
byte[] bytes,
long timestamp) |
protected abstract byte[] |
cached(String className,
long timestamp) |
Class<?> |
compile(String className,
String code,
ClassLoader classLoader,
OutputStream os,
long timestamp)
do compile java source.
|
protected Compiler compiler
public CacheableJdkCompiler(Compiler compiler)
public Class<?> compile(String className, String code, ClassLoader classLoader, OutputStream os, long timestamp)
Compilerprotected abstract byte[] cached(String className, long timestamp)
protected abstract void cache(String className, byte[] bytes, long timestamp)
Copyright © 2016 Baidu, Inc.. All rights reserved.