com.sun.enterprise.deployment.util
Class AnnotationDetector
java.lang.Object
com.sun.enterprise.deployment.util.AnnotationDetector
- Direct Known Subclasses:
- ConnectorAnnotationDetector
public class AnnotationDetector
- extends java.lang.Object
Abstract superclass for specific types of annotation detectors.
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classFile
protected final ClassFile classFile
scanner
protected final AnnotationScanner scanner
AnnotationDetector
public AnnotationDetector(AnnotationScanner scanner)
hasAnnotationInArchiveWithNoScanning
public boolean hasAnnotationInArchiveWithNoScanning(ReadableArchive archive)
throws java.io.IOException
- Throws:
java.io.IOException
hasAnnotationInArchive
public boolean hasAnnotationInArchive(ReadableArchive archive)
throws java.io.IOException
- Throws:
java.io.IOException
containsAnnotation
public boolean containsAnnotation(ReadableArchive archive,
java.lang.String entryName)
throws java.io.IOException
- Throws:
java.io.IOException
containsAnnotation
protected boolean containsAnnotation(java.io.InputStream is,
long size)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012 GlassFish Community. All Rights Reserved.