Package org.eclipse.jetty.annotations
Class AnnotationDecorator
- java.lang.Object
-
- org.eclipse.jetty.annotations.AnnotationDecorator
-
- All Implemented Interfaces:
org.eclipse.jetty.util.Decorator
public class AnnotationDecorator extends java.lang.Object implements org.eclipse.jetty.util.DecoratorAnnotationDecorator
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.jetty.webapp.WebAppContext_contextprotected AnnotationIntrospector_introspector
-
Constructor Summary
Constructors Constructor Description AnnotationDecorator(org.eclipse.jetty.webapp.WebAppContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectdecorate(java.lang.Object o)voiddestroy(java.lang.Object o)protected voidintrospect(java.lang.Object o, java.lang.Object metaInfo)Look for annotations that can be discovered with introspection: Resource Resources RunAs PostConstruct PreDestroy DeclareRoles MultiPart ServletSecurity
-
-
-
Field Detail
-
_introspector
protected AnnotationIntrospector _introspector
-
_context
protected org.eclipse.jetty.webapp.WebAppContext _context
-
-
Method Detail
-
introspect
protected void introspect(java.lang.Object o, java.lang.Object metaInfo)Look for annotations that can be discovered with introspection:- Resource
- Resources
- RunAs
- PostConstruct
- PreDestroy
- DeclareRoles
- MultiPart
- ServletSecurity
- Parameters:
o- the object to introspectmetaInfo- information about the object to introspect
-
decorate
public java.lang.Object decorate(java.lang.Object o)
- Specified by:
decoratein interfaceorg.eclipse.jetty.util.Decorator
-
destroy
public void destroy(java.lang.Object o)
- Specified by:
destroyin interfaceorg.eclipse.jetty.util.Decorator
-
-