org.jboss.seam.deployment
Class Scanner
java.lang.Object
org.jboss.seam.deployment.Scanner
- Direct Known Subclasses:
- ComponentScanner, NamespaceScanner
public abstract class Scanner
- extends Object
Abstract class for scanning archives in the
Seam classpath.
- Author:
- Thomas Heute, Gavin King, Norman Richards
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourceName
protected String resourceName
classLoader
protected ClassLoader classLoader
useVFS
protected static Boolean useVFS
Scanner
public Scanner(String resourceName)
Scanner
public Scanner(String resourceName,
ClassLoader classLoader)
useVFS
protected static boolean useVFS()
filenameToClassname
public static String filenameToClassname(String filename)
filenameToPackage
public static String filenameToPackage(String filename)
scan
protected void scan()
getURLsFromClassLoader
protected URL[] getURLsFromClassLoader()
getClassFile
protected javassist.bytecode.ClassFile getClassFile(String name)
throws IOException
- Throws:
IOException
hasAnnotation
protected boolean hasAnnotation(javassist.bytecode.ClassFile cf,
Class<? extends Annotation> annotationType)
getAnnotationValue
protected String getAnnotationValue(javassist.bytecode.ClassFile cf,
Class<? extends Annotation> annotationType,
String memberName)
componentFilename
public static String componentFilename(String name)