Class ClassLoaderNature
java.lang.Object
org.castor.core.nature.BaseNature
org.castor.cpa.util.classresolution.nature.ClassLoaderNature
- All Implemented Interfaces:
Nature
A
ClassLoaderNature
provides a ClassLoader.- Since:
- 1.2.1
- Author:
- Lukas Lang
-
Constructor Summary
ConstructorsConstructorDescriptionClassLoaderNature
(PropertyHolder holder) Constructor takes thePropertyHolder
in use. -
Method Summary
Modifier and TypeMethodDescriptionReturns aClassLoader
.getId()
Returns the Nature Id.void
setClassLoader
(ClassLoader loader) Sets theClassLoader
.Methods inherited from class org.castor.core.nature.BaseNature
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
-
Constructor Details
-
ClassLoaderNature
Constructor takes thePropertyHolder
in use.- Parameters:
holder
- PropertyHolder in use.
-
-
Method Details
-
getId
Returns the Nature Id.- Returns:
- The fully qualified class name.
- See Also:
-
setClassLoader
Sets theClassLoader
.- Parameters:
loader
- TheClassLoader
to use.
-
getClassLoader
Returns aClassLoader
.- Returns:
- A
ClassLoader
or null if not set.
-