|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.classscan.builtin.DefaultMetaClassPathElement
public class DefaultMetaClassPathElement
Constructor Summary | |
---|---|
DefaultMetaClassPathElement(SpiMetaRegistry metaRegistry,
ClassPathElement classPathElement)
|
Method Summary | |
---|---|
MetaClass |
getMetaClass(String className)
Get metadata about a Class which is available in the code location. |
Collection<? extends MetaClass> |
getMetaClasses()
Get metadata about the Classes which are available in the code location. |
String |
getName()
Get the name of the location of the jar or folder. |
boolean |
resolve(SpiMetaClassLoader classLoader)
Resolve names into model entries |
MetaClass |
resolveMetaClass(SpiMetaClassLoader classLoader,
String className)
Find and resolve a MetaClass. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMetaClassPathElement(SpiMetaRegistry metaRegistry, ClassPathElement classPathElement)
Method Detail |
---|
public boolean resolve(SpiMetaClassLoader classLoader)
HasResolve
resolve
in interface HasResolve
public MetaClass resolveMetaClass(SpiMetaClassLoader classLoader, String className)
SpiMetaClassPathElement
resolveMetaClass
in interface SpiMetaClassPathElement
classLoader
- The metadata locus for a ClassLoaderclassName
- The canonical name of the class to resolve
public Collection<? extends MetaClass> getMetaClasses()
MetaClassPathElement
getMetaClasses
in interface MetaClassPathElement
public MetaClass getMetaClass(String className)
MetaClassPathElement
getMetaClass
in interface MetaClassPathElement
className
- The canonical className of the desired Class
public String getName()
MetaClassPathElement
URI
or URL
constructor.
getName
in interface HasName
getName
in interface MetaClassPathElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |