[jboss-user] [JBoss Cache POJO Edition] - Pojo Cache instrumentation does not work as expected

sebi sebi do-not-reply at jboss.com
Wed Jul 7 07:48:42 EDT 2010


sebi sebi [http://community.jboss.org/people/prese] created the discussion

"Pojo Cache instrumentation does not work as expected"

To view the discussion, visit: http://community.jboss.org/message/551460#551460

--------------------------------------------------------------
Hi *,

I am using the following configuration for doing the instrumentation:

<aop>
  <prepare expr="field(* @org.jboss.cache.pojo.annotation.Replicable->*)" />
</aop>

Accordingly with the user guide:
+"+*  +We intercept the field of all access levels (i.e.,                   private ,                   protected ,                   public , etc.) The main reason being that we consider all  fields as stateful data. However, we can relax this                   requirement in the future if there is a use case for  it.+ 
*  +We don't intercept field modifiers of                   final and                   transient though. That is, field with these modifiers are not  stored in cache and is not replicated either. If                   you don't want your field to be managed by the cache,  you can declare them with these modifiers, e.g.,                   transient. 
+
+"+

Based on these I do not expect to have instrumentation for private static final Logger LOGGER = Logger.getLogger(..).
But I see code generate to intercept the LOGGER access.

Also I can see instrumentation classes generate for all my transient fields.

Do I miss something?

10x

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/551460#551460]

Start a new discussion in JBoss Cache POJO Edition at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2054]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100707/9279e640/attachment.html 


More information about the jboss-user mailing list