Package io.github.mmm.code.impl.java
Class JavaContext.JavaClassLoader
java.lang.Object
io.github.mmm.code.impl.java.JavaContext.JavaClassLoader
- All Implemented Interfaces:
io.github.mmm.code.api.CodeLoader,io.github.mmm.code.api.CodeWithContext,BaseLoader
- Enclosing class:
JavaContext
Implementation of
BaseLoader to load classes from byte-code.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JavaClassLoader
public JavaClassLoader()The constructor. -
JavaClassLoader
The constructor.- Parameters:
classloader- the explicitClassLoaderto use.
-
-
Method Details
-
getSource
- Specified by:
getSourcein interfaceBaseLoader- Specified by:
getSourcein interfaceio.github.mmm.code.api.CodeWithContext
-
getContext
- Specified by:
getContextin interfaceBaseLoader- Specified by:
getContextin interfaceio.github.mmm.code.api.CodeWithContext
-
getClassLoader
- Returns:
- the
ClassLoaderused to load byte-code.
-
getType
- Specified by:
getTypein interfaceBaseLoader- Specified by:
getTypein interfaceio.github.mmm.code.api.CodeLoader
-
getType
- Specified by:
getTypein interfaceBaseLoader- Specified by:
getTypein interfaceio.github.mmm.code.api.CodeLoader
-
getType
- Specified by:
getTypein interfaceBaseLoader- Specified by:
getTypein interfaceio.github.mmm.code.api.CodeLoader
-