<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ales Justin wrote:
<blockquote cite="mid:4A338626.8010808@gmail.com" type="cite">
<blockquote type="cite">Would it be possible to have "trace" logging
that would show classes that are scanned and whether annotations were
found? I enabled trace for "AnnotationEnvironmentDeployer" but didn't
see enough information.
<br>
</blockquote>
<br>
This is already there:
<br>
<br>
package org.jboss.deployers.plugins.annotations;
<br>
<br>
public class DefaultAnnotationEnvironment extends WeakClassLoaderHolder
implements AnnotationEnvironment, Serializable
<br>
<br>
void putAnnotation(Annotation annotation, ElementType type, String
className, Signature signature)
<br>
{
<br>
Class<? extends Annotation> annClass =
annotation.annotationType();
<br>
<br>
if (log.isTraceEnabled())
<br>
log.trace("Adding annotation @" + annClass.getSimpleName() + "
for " + className + " at type " + type + ", signature: " + signature);
<br>
</blockquote>
<br>
If trace is enabled, could we also show the classes that have no
annotations? Perhaps in GenericAnnotationResourceVisitor.visit()?
This will help me understand what should be in the list of includes and
excludes (to help build the jboss-scanning.xml<strong></strong>). <br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>