public class DefaultTypeLoader extends Object
GroovyTypeLoader
Modifier and Type | Field and Description |
---|---|
protected GroovyTypeLoader |
gLoader |
protected WebLoader |
loader |
static org.apache.commons.logging.Log |
log |
protected ModuleImpl |
module |
protected File |
root |
protected TypeRegistry |
typeReg |
static String |
WEB_TYPES_FILE |
Constructor and Description |
---|
DefaultTypeLoader(ModuleImpl module,
TypeRegistry typeReg,
File root) |
Modifier and Type | Method and Description |
---|---|
void |
flushCache() |
ModuleImpl |
getModule() |
void |
load() |
protected TypeDescriptor |
loadType(Class<?> clazz) |
protected TypeDescriptor |
loadType(ClassProxy clazz) |
protected TypeDescriptor |
loadType(String className) |
protected void |
loadTypes(Class<?>[] types) |
protected void |
loadTypesFile(File file)
Old method to load types from a web-types file generated at build time
|
public static final org.apache.commons.logging.Log log
public static final String WEB_TYPES_FILE
protected GroovyTypeLoader gLoader
protected final ModuleImpl module
protected final TypeRegistry typeReg
public DefaultTypeLoader(ModuleImpl module, TypeRegistry typeReg, File root)
public ModuleImpl getModule()
public void load()
public void flushCache()
protected void loadTypesFile(File file) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
protected TypeDescriptor loadType(String className) throws ClassNotFoundException
ClassNotFoundException
protected TypeDescriptor loadType(Class<?> clazz)
protected TypeDescriptor loadType(ClassProxy clazz)
Copyright © 2016 Nuxeo SA. All rights reserved.