dev@glassfish.java.net

QL warning org.jboss.interceptor.reader.InterceptorMetadataUtils

From: Cheng Fang <cheng.fang_at_oracle.com>
Date: Fri, 08 Jul 2011 00:13:06 -0400

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