Package org.eclipse.jetty.webapp
Class DiscoveredAnnotation
- java.lang.Object
-
- org.eclipse.jetty.webapp.DiscoveredAnnotation
-
- Direct Known Subclasses:
WebFilterAnnotation
,WebListenerAnnotation
,WebServletAnnotation
public abstract class DiscoveredAnnotation extends java.lang.Object
DiscoveredAnnotation Represents an annotation that has been discovered by scanning source code of WEB-INF/classes and WEB-INF/lib jars.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
_className
protected java.lang.Class<?>
_clazz
protected WebAppContext
_context
protected Resource
_resource
-
Constructor Summary
Constructors Constructor Description DiscoveredAnnotation(WebAppContext context, java.lang.String className)
DiscoveredAnnotation(WebAppContext context, java.lang.String className, Resource resource)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
apply()
Resource
getResource()
java.lang.Class<?>
getTargetClass()
-
-
-
Field Detail
-
_context
protected WebAppContext _context
-
_className
protected java.lang.String _className
-
_clazz
protected java.lang.Class<?> _clazz
-
_resource
protected Resource _resource
-
-
Constructor Detail
-
DiscoveredAnnotation
public DiscoveredAnnotation(WebAppContext context, java.lang.String className)
-
DiscoveredAnnotation
public DiscoveredAnnotation(WebAppContext context, java.lang.String className, Resource resource)
-
-
Method Detail
-
apply
public abstract void apply()
-
getResource
public Resource getResource()
-
getTargetClass
public java.lang.Class<?> getTargetClass()
-
-