Package org.eclipse.jetty.annotations
Class AnnotationConfiguration.ParserTask
- java.lang.Object
-
- org.eclipse.jetty.annotations.AnnotationConfiguration.ParserTask
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Void>
- Direct Known Subclasses:
AnnotationConfiguration.BundleParserTask
- Enclosing class:
- AnnotationConfiguration
public class AnnotationConfiguration.ParserTask extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Void>
ParserTask Task to executing scanning of a resource for annotations.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Exception
_exception
protected java.util.Set<? extends AnnotationParser.Handler>
_handlers
protected AnnotationParser
_parser
protected Resource
_resource
protected AnnotationConfiguration.TimeStatistic
_stat
-
Constructor Summary
Constructors Constructor Description ParserTask(AnnotationParser parser, java.util.Set<? extends AnnotationParser.Handler> handlers, Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Void
call()
Resource
getResource()
AnnotationConfiguration.TimeStatistic
getStatistic()
void
setStatistic(AnnotationConfiguration.TimeStatistic stat)
-
-
-
Field Detail
-
_exception
protected java.lang.Exception _exception
-
_parser
protected final AnnotationParser _parser
-
_handlers
protected final java.util.Set<? extends AnnotationParser.Handler> _handlers
-
_resource
protected final Resource _resource
-
_stat
protected AnnotationConfiguration.TimeStatistic _stat
-
-
Constructor Detail
-
ParserTask
public ParserTask(AnnotationParser parser, java.util.Set<? extends AnnotationParser.Handler> handlers, Resource resource)
-
-
Method Detail
-
setStatistic
public void setStatistic(AnnotationConfiguration.TimeStatistic stat)
-
call
public java.lang.Void call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<java.lang.Void>
- Throws:
java.lang.Exception
-
getStatistic
public AnnotationConfiguration.TimeStatistic getStatistic()
-
getResource
public Resource getResource()
-
-