org.castor.cpa.util.classresolution.command
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
public final class ClassResolutionByFile
- extends BaseResolutionCommand
Resolves ClassDescriptors on the file system.
- Since:
- 1.2.1
- Author:
- Lukas Lang
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassResolutionByFile
public ClassResolutionByFile()
- Constructor taking a MappingLoader.
resolve
public ClassDescriptor resolve(Class type)
- Tries to load a
ClassDescriptor for the given type from the
filesystem by lookup the subpackage specified in
using the
ClassLoader of the ClassLoaderNature .
- Parameters:
type - to lookup the descriptor for.
- Returns:
- an instance of ClassDescriptor if found, null if not.
Copyright © 2010. All Rights Reserved.