|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 MetaClassLoaderpublic Collection<? extends MetaClassPathElement> getClassLocations()
MetaClassLoader
getClassLocations in interface MetaClassLoaderpublic MetaClassPathElement getClassLocation(String location)
MetaClassLoader
getClassLocation in interface MetaClassLoaderlocation - The location of a folder, jar, or compressed codepublic Iterator<? extends MetaClass> getMetaClasses()
MetaClassLoader
getMetaClasses in interface MetaClassLoaderpublic MetaClass getMetaClass(String className)
MetaClassLoaderMetaClassLoader.findMetaClass(java.lang.String).
getMetaClass in interface MetaClassLoaderclassName - The name of the Class
public MetaClass findMetaClass(String className)
MetaClassLoader
findMetaClass in interface MetaClassLoaderclassName - The name of the Class
public MetaClass resolveMetaClass(String className)
resolveMetaClass in interface SpiMetaClassLoaderpublic MetaType resolveTypeForDescriptor(String fieldDescriptor)
resolveTypeForDescriptor in interface SpiMetaClassLoaderfieldDescriptor - 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 MetaClassLoaderinterfaceToFind - The non-null MetaClass associated with the
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||