Class ClassResolutionByFile
java.lang.Object
org.castor.cpa.util.classresolution.command.BaseResolutionCommand
org.castor.cpa.util.classresolution.command.ClassResolutionByFile
- All Implemented Interfaces:
NatureExtendable,PropertyHolder,ClassDescriptorResolutionCommand
Resolves
ClassDescriptors on the file system.- Since:
- 1.2.1
- Author:
- Lukas Lang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTries to load aClassDescriptorfor the given type from the filesystem by lookup the subpackage specified in "jdo_descriptors" using theClassLoaderof theClassLoaderNature.Methods inherited from class org.castor.cpa.util.classresolution.command.BaseResolutionCommand
addNature, getClassDescriptorResolver, getProperty, hasNature, setClassDescriptorResolver, setProperty
-
Constructor Details
-
ClassResolutionByFile
public ClassResolutionByFile()Constructor taking a MappingLoader.
-
-
Method Details
-
resolve
Tries to load aClassDescriptorfor the given type from the filesystem by lookup the subpackage specified in "jdo_descriptors" using theClassLoaderof theClassLoaderNature.- Parameters:
type- to lookup the descriptor for.- Returns:
- an instance of ClassDescriptor if found, null if not.
-