QL warning org.jboss.interceptor.reader.InterceptorMetadataUtils

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

QL warning org.jboss.interceptor.reader.InterceptorMetadataUtils

Cheng Fang-2
I'm seeing the following warnings while running QL:

[#|2011-07-07T23:58:46.498-0400|WARNING|glassfish3.2|org.jboss.interceptor.reader.InterceptorMetadataUtils|_ThreadID=12;_ThreadName=Thread-2;|Method
init defined on class numberguess.InterceptorB will not be used for
interception, since it is not defined according to the specification. It
is annotated with @javax.annotation.PostConstruct, but is defined on the
target class and does not have 0 arguments|#]

[#|2011-07-07T23:58:46.509-0400|WARNING|glassfish3.2|org.jboss.interceptor.reader.InterceptorMetadataUtils|_ThreadID=12;_ThreadName=Thread-2;|Method
destroy defined on class numberguess.InterceptorB will not be used for
interception, since it is not defined according to the specification. It
is annotated with @javax.annotation.PreDestroy, but is defined on the
target class and does not have 0 arguments|#]

---------
When I looked at the class InterceptorB under
v3/tests/quicklook/weld/numberguess/src/java/numberguess, couldn't find
anything wrong.  PostConstruct and PreDestroy methods seem to be correct.

Any idea?  Maybe a weld bug?

Thanks,
-cheng
Loading...