站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

Scanner (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.deployment
Class Scanner

java.lang.Object
  extended by org.jboss.seam.deployment.Scanner
Direct Known Subclasses:
ComponentScanner, NamespaceScanner

public abstract class Scanner
extends Object


Field Summary
protected  ClassLoader classLoader
           
protected  String resourceName
           
 
Constructor Summary
Scanner(String resourceName)
           
Scanner(String resourceName, ClassLoader classLoader)
           
 
Method Summary
static String componentFilename(String name)
           
static String filenameToClassname(String filename)
           
protected  String getAnnotationValue(javassist.bytecode.ClassFile cf, Class<? extends Annotation> annotationType, String memberName)
           
protected  javassist.bytecode.ClassFile getClassFile(String name)
           
protected  boolean hasAnnotation(javassist.bytecode.ClassFile cf, Class<? extends Annotation> annotationType)
           
protected  void scan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceName

protected String resourceName

classLoader

protected ClassLoader classLoader
Constructor Detail

Scanner

public Scanner(String resourceName)

Scanner

public Scanner(String resourceName,
               ClassLoader classLoader)
Method Detail

filenameToClassname

public static String filenameToClassname(String filename)

scan

protected void scan()

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)