« Return to Thread: question about config syntax for annotations

question about config syntax for annotations

by Taylor Gautier-2 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
I have the following instrumentation in my tc-config:

       <include>
          <class-expression>org.terracotta.sample.guice.Bar$*</class-expression>
       </include>
       <include>
          <class-expression>org.terracotta.sample.guice.Foo$*</class-expression>
       </include>

Is there anyway to target this using annotations?  The reason for the * is because dynamic proxy classes are being created and clustered, so the names are never the same (Bar$1, Bar$2 etc)

For example, in tim-annotations, we have the following syntax:

    <include>
      <class-expression>@org.terracotta.modules.annotations.InstrumentedClass *</class-expression>
    </include>

Should this be added?

    <include>
      <class-expression>@org.terracotta.modules.annotations.InstrumentedClass *..*$*</class-expression>
    </include>

would it work?  should that be the behavior?

--

Taylor Gautier

Product Manager

Terracotta, Inc.


Phone: +1 (415) 738-4053

Fax: +1 (415) 738-4099

Web: www.terracottatech.com


_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users

 « Return to Thread: question about config syntax for annotations

LightInTheBox - Buy quality products at wholesale price!