- getAnnotatedElement() - Method in class org.glassfish.apf.AnnotationInfo
-
- getAnnotation() - Method in class org.glassfish.apf.AnnotationInfo
-
- getAnnotationHandler(Class<? extends Annotation>) - Method in interface org.glassfish.apf.AnnotationProcessor
-
- getAnnotationHandler(Class<? extends Annotation>) - Method in class org.glassfish.apf.impl.AnnotationProcessorImpl
-
- getAnnotationHandlerForDescriptor(ServiceLocator, Class<?>) - Static method in class org.glassfish.apf.impl.AnnotationUtils
-
Gets the annotation handler for the given class (without causing any of the annotation handlers
to be classloaded)
- getAnnotationType() - Method in interface org.glassfish.apf.AnnotationHandler
-
- getArchive() - Method in interface org.glassfish.apf.ProcessingContext
-
Returns the module archive that can be used to load files/resources,
that assist in the processing of annotations.
- getClassLoader() - Method in class org.glassfish.apf.impl.DirectoryScanner
-
- getClassLoader() - Method in class org.glassfish.apf.impl.JarScanner
-
- getClassLoader() - Method in interface org.glassfish.apf.Scanner
-
Returns a ClassLoader capable of loading classes from the
underlying medium
- getComponentInfo(Class) - Method in class org.glassfish.apf.impl.JavaEEScanner
-
- getComponentInfo(Class) - Method in interface org.glassfish.apf.Scanner
-
Sometimes, annotations processing requires more than a single class,
especially when such classes end up being a Java Component (Java Beans,
Java EE).
- getConstructors() - Method in interface org.glassfish.apf.ComponentInfo
-
- getConstructors() - Method in class org.glassfish.apf.impl.ComponentDefinition
-
- getDefaultAnnotationProcessor() - Static method in class org.glassfish.apf.factory.Factory
-
Return a empty AnnotationProcessor with no annotation handlers registered
- getDefaultResult(Class<? extends Annotation>, ResultType) - Static method in class org.glassfish.apf.impl.HandlerProcessingResultImpl
-
- getElements() - Method in class org.glassfish.apf.impl.DirectoryScanner
-
- getElements() - Method in class org.glassfish.apf.impl.JarScanner
-
- getElements() - Method in interface org.glassfish.apf.Scanner
-
Return a complete set of classes available from this location.
- getElementType() - Method in class org.glassfish.apf.AnnotationInfo
-
- getEntries() - Method in class org.glassfish.apf.impl.DirectoryScanner
-
- getErrorHandler() - Method in interface org.glassfish.apf.ProcessingContext
-
Return the error handler for this processing context.
- getFields() - Method in interface org.glassfish.apf.ComponentInfo
-
- getFields() - Method in class org.glassfish.apf.impl.ComponentDefinition
-
- getHandler() - Method in interface org.glassfish.apf.ProcessingContext
-
Return the current handler (if any) receving all the annotated elements
start and stop events.
- getHandler(Class<U>) - Method in interface org.glassfish.apf.ProcessingContext
-
Return the top handler casted to the requested handler type
- getLastAnnotatedElement(ElementType) - Method in interface org.glassfish.apf.AnnotationProcessor
-
- getLastAnnotatedElement(ElementType) - Method in class org.glassfish.apf.impl.AnnotationProcessorImpl
-
- getLocalString(String, String, Object...) - Static method in class org.glassfish.apf.impl.AnnotationUtils
-
- getLocator() - Method in exception org.glassfish.apf.AnnotationProcessorException
-
Return information about the annotation and annotated element
which caused the exception or null if it is not available.
- getLogger() - Static method in class org.glassfish.apf.impl.AnnotationUtils
-
- getLoggerTarget() - Static method in class org.glassfish.apf.impl.AnnotationUtils
-
- getMessage() - Method in exception org.glassfish.apf.AnnotationProcessorException
-
Return a meaningful string explaining the exception cause
- getMethods() - Method in interface org.glassfish.apf.ComponentInfo
-
- getMethods() - Method in class org.glassfish.apf.impl.ComponentDefinition
-
- getOverallResult() - Method in interface org.glassfish.apf.HandlerProcessingResult
-
- getOverallResult() - Method in class org.glassfish.apf.impl.HandlerProcessingResultImpl
-
- getOverallResult() - Method in class org.glassfish.apf.impl.ProcessingResultImpl
-
- getOverallResult() - Method in interface org.glassfish.apf.ProcessingResult
-
- getProcessingContext() - Method in class org.glassfish.apf.AnnotationInfo
-
- getProcessingContext() - Method in class org.glassfish.apf.context.AnnotationContext
-
- getProcessingInput() - Method in interface org.glassfish.apf.ProcessingContext
-
Returns the Scanner implementation which is responsible for providing
access to all the .class files the processing tool needs to scan.
- getProcessor() - Method in interface org.glassfish.apf.ProcessingContext
-
Returns the AnnotationProcessor instance this context is associated
with.
- getResults() - Method in class org.glassfish.apf.impl.ProcessingResultImpl
-
- getResults() - Method in interface org.glassfish.apf.ProcessingResult
-
- getStack() - Method in class org.glassfish.apf.impl.AnnotationProcessorImpl
-
- getTypeDependencies() - Method in interface org.glassfish.apf.AnnotationHandler
-
- getTypes() - Method in class org.glassfish.apf.impl.JavaEEScanner
-
- getTypes() - Method in interface org.glassfish.apf.Scanner
-
Return the types information for this module
- popAnnotationHandler(Class<? extends Annotation>) - Method in interface org.glassfish.apf.AnnotationProcessor
-
Unregisters the last annotation handler registered for an annotation type.
- popAnnotationHandler(Class<? extends Annotation>) - Method in class org.glassfish.apf.impl.AnnotationProcessorImpl
-
- popHandler() - Method in interface org.glassfish.apf.ProcessingContext
-
Removes the top handler
- process(ProcessingContext) - Method in interface org.glassfish.apf.AnnotationProcessor
-
Starts the annotation processing tool passing the processing context which
encapuslate all information necessary for the configuration of the tool.
- process(ProcessingContext, Class[]) - Method in interface org.glassfish.apf.AnnotationProcessor
-
Process a set of classes from the parameter list rather than from the
processing context.
- process(ProcessingContext) - Method in class org.glassfish.apf.impl.AnnotationProcessorImpl
-
Starts the annotation processing tool passing the processing context which
encapuslate all information necessary for the configuration of the tool.
- process(ProcessingContext, Class[]) - Method in class org.glassfish.apf.impl.AnnotationProcessorImpl
-
Process a set of classes from the parameter list rather than from the
processing context.
- process(File, Object, ClassLoader) - Method in class org.glassfish.apf.impl.DirectoryScanner
-
- process(File, Object, ClassLoader) - Method in class org.glassfish.apf.impl.JarScanner
-
- process(File, T, ClassLoader) - Method in interface org.glassfish.apf.Scanner
-
Scan the archive file and gather a list of classes
that should be processed for anntoations
- processAnnotation(AnnotationInfo) - Method in interface org.glassfish.apf.AnnotationHandler
-
Process a particular annotation which type is the same as the
one returned by @see getAnnotationType().
- processedAnnotations() - Method in interface org.glassfish.apf.HandlerProcessingResult
-
Returns a map of annotation types processed by this handler as keys
and a ResultType as a value to communicate the result of the annotation
processing for each processed annotation types.
- processedAnnotations() - Method in class org.glassfish.apf.impl.HandlerProcessingResultImpl
-
- ProcessingContext - Interface in org.glassfish.apf
-
This interface defines the context for the annotation procesing
handler.
- ProcessingResult - Interface in org.glassfish.apf
-
This interface encapsulates all AnnotatedElements processing result by
the AnnotationProcessor tool.
- ProcessingResultImpl - Class in org.glassfish.apf.impl
-
Implementation of the ProcessingResult interface
- ProcessingResultImpl() - Constructor for class org.glassfish.apf.impl.ProcessingResultImpl
-
Creates a new instance of ProcessingResultImpl
- pushAnnotationHandler(AnnotationHandler) - Method in interface org.glassfish.apf.AnnotationProcessor
-
Registers a new AnnotationHandler for a particular annotation type.
- pushAnnotationHandler(AnnotationHandler) - Method in class org.glassfish.apf.impl.AnnotationProcessorImpl
-
- pushAnnotationHandler(String, AnnotationHandler) - Method in class org.glassfish.apf.impl.AnnotationProcessorImpl
-
- pushHandler(AnnotatedElementHandler) - Method in interface org.glassfish.apf.ProcessingContext
-
Push a new handler on the stack of handlers.