Top Description Fields Constructors Methods
org.eclipse.jetty.ee10.webapp

public abstract Class DiscoveredAnnotation

extends Object
Class Inheritance
Imports
org.eclipse.jetty.util.Loader, org.eclipse.jetty.util.resource.Resource, org.slf4j.Logger, .LoggerFactory

DiscoveredAnnotation Represents an annotation that has been discovered by scanning source code of WEB-INF/classes and WEB-INF/lib jars.

Field Summary

Modifier and TypeField and Description
protected String
protected Class<?>
protected WebAppContext
protected Resource
private static final Logger

Constructor Summary

AccessConstructor and Description
public
public
DiscoveredAnnotation(WebAppContext context, String className, Resource resource)

Method Summary

Modifier and TypeMethod and Description
public abstract void
public String
public Resource
public Class<?>
private void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

_classNameback to summary
protected String _className
_clazzback to summary
protected Class<?> _clazz
_contextback to summary
protected WebAppContext _context
_resourceback to summary
protected Resource _resource
LOGback to summary
private static final Logger LOG

Constructor Detail

DiscoveredAnnotationback to summary
public DiscoveredAnnotation(WebAppContext context, String className)
DiscoveredAnnotationback to summary
public DiscoveredAnnotation(WebAppContext context, String className, Resource resource)

Method Detail

applyback to summary
public abstract void apply()
getClassNameback to summary
public String getClassName()
getResourceback to summary
public Resource getResource()
getTargetClassback to summary
public Class<?> getTargetClass()
loadClassback to summary
private void loadClass()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override