public class AnnotationDecorator extends Object implements ServletContextHandler.Decorator
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
_introspector |
Constructor and Description |
---|
AnnotationDecorator(WebAppContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
decorate(Object o) |
void |
destroy(Object o) |
protected void |
introspect(Object o)
Look for annotations that can be discovered with introspection:
Resource
Resources
PostConstruct
PreDestroy
ServletSecurity?
|
void |
registerHandlers(WebAppContext context) |
protected AnnotationIntrospector _introspector
public AnnotationDecorator(WebAppContext context)
context
- public void registerHandlers(WebAppContext context)
protected void introspect(Object o)
o
- public Object decorate(Object o)
decorate
in interface ServletContextHandler.Decorator
public void destroy(Object o)
destroy
in interface ServletContextHandler.Decorator
Copyright © 1995-2015 Webtide. All Rights Reserved.