Class DefaultTypeLoader
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.DefaultTypeLoader
A type loader which is loading types from META-INF/web-types file. This loader is also checking the web module
nature. If the project has for example a Groovy nature it will call at end the
GroovyTypeLoader
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected GroovyTypeLoader
protected final WebLoader
protected final ModuleImpl
protected final File
protected final TypeRegistry
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
load()
protected TypeDescriptor
protected TypeDescriptor
protected TypeDescriptor
loadType
(ClassProxy clazz) protected void
protected void
loadTypesFile
(File file) Old method to load types from a web-types file generated at build time
-
Field Details
-
WEB_TYPES_FILE
- See Also:
-
gLoader
-
module
-
loader
-
typeReg
-
root
-
-
Constructor Details
-
DefaultTypeLoader
-
-
Method Details
-
getModule
-
load
public void load() -
flushCache
public void flushCache() -
loadTypes
-
loadTypesFile
Old method to load types from a web-types file generated at build time- Throws:
IOException
ClassNotFoundException
-
loadType
- Throws:
ClassNotFoundException
-
loadType
-
loadType
-