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 thePropertyHolderin use. -
Method Summary
Modifier and TypeMethodDescriptionReturns aClassLoader.getId()Returns the Nature Id.voidsetClassLoader(ClassLoader loader) Sets theClassLoader.Methods inherited from class org.castor.core.nature.BaseNature
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
-
Constructor Details
-
ClassLoaderNature
Constructor takes thePropertyHolderin 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- TheClassLoaderto use.
-
getClassLoader
Returns aClassLoader.- Returns:
- A
ClassLoaderor null if not set.
-