|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.classscan.builtin.UrlMetaClassLoader
public class UrlMetaClassLoader
Constructor Summary | |
---|---|
UrlMetaClassLoader(SpiMetaRegistry registry,
ClassLoader classLoader)
|
Method Summary | |
---|---|
protected void |
addLocation(SpiMetaClassPathElement cpe)
|
Collection<? extends MetaClass> |
findAllImplementors(String interfaceToFind)
Find all the implementors of an interface class. |
MetaClass |
findMetaClass(String className)
Find metadata about a particular Class. |
MetaClassPathElement |
getClassLocation(String location)
Get metadata about a class locations |
Collection<? extends MetaClassPathElement> |
getClassLocations()
Get metadata about the locations from which the associated ClassLoader loads Classes. |
MetaClass |
getMetaClass(String className)
Get metadata about a particular Class. |
Iterator<? extends MetaClass> |
getMetaClasses()
Get metadata about the Classes from which the associated ClassLoader can load. |
MetaClassLoader |
getParent()
Get the metadata about the parent of the associated ClassLoader. |
MetaClass |
resolveMetaClass(String className)
|
MetaType |
resolveTypeForDescriptor(String fieldDescriptor)
Get metadata representing a type from its byte code signature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlMetaClassLoader(SpiMetaRegistry registry, ClassLoader classLoader)
Method Detail |
---|
protected void addLocation(SpiMetaClassPathElement cpe)
public MetaClassLoader getParent()
MetaClassLoader
getParent
in interface MetaClassLoader
public Collection<? extends MetaClassPathElement> getClassLocations()
MetaClassLoader
getClassLocations
in interface MetaClassLoader
public MetaClassPathElement getClassLocation(String location)
MetaClassLoader
getClassLocation
in interface MetaClassLoader
location
- The location of a folder, jar, or compressed codepublic Iterator<? extends MetaClass> getMetaClasses()
MetaClassLoader
getMetaClasses
in interface MetaClassLoader
public MetaClass getMetaClass(String className)
MetaClassLoader
MetaClassLoader.findMetaClass(java.lang.String)
.
getMetaClass
in interface MetaClassLoader
className
- The name of the Class
public MetaClass findMetaClass(String className)
MetaClassLoader
findMetaClass
in interface MetaClassLoader
className
- The name of the Class
public MetaClass resolveMetaClass(String className)
resolveMetaClass
in interface SpiMetaClassLoader
public MetaType resolveTypeForDescriptor(String fieldDescriptor)
resolveTypeForDescriptor
in interface SpiMetaClassLoader
fieldDescriptor
- The field descriptor as defined in section 4.3.2 of The Java
Virtual Machine Specification
public Collection<? extends MetaClass> findAllImplementors(String interfaceToFind)
MetaClassLoader
findAllImplementors
in interface MetaClassLoader
interfaceToFind
- The non-null MetaClass associated with the
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |