Skip to content

Commit

Permalink
SEAMFACES-33 added trace message to ViewConfigExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
bleathem committed Mar 23, 2011
1 parent 8d1895f commit bbfa59a
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -31,6 +31,12 @@ public class ViewConfigExtension implements Extension
public <T> void processAnnotatedType(@Observes ProcessAnnotatedType<T> event)
{
AnnotatedType<T> tp = event.getAnnotatedType();
if (log.isTraceEnabled()) {
log.tracef("Annotated Type: %s", tp.getJavaClass().getName());
for (Annotation annotation : tp.getAnnotations()) {
log.tracef("|-- Annotation: %s", annotation.annotationType().getName());
}
}
if (tp.isAnnotationPresent(ViewConfig.class))
{
if (!tp.getJavaClass().isEnum())
Expand Down

0 comments on commit bbfa59a

Please sign in to comment.