5 Replies Latest reply on Nov 17, 2004 3:44 PM by jbryce

    Using TreeCacheAopMBean

    peterox

      Can someone please post a detailed example of how to use TreeCacheAop inside JBoss?

      I have successfully started a service, but when I add a POJO via putObject, it is not added as an AOP object, but simply a name value pair.

      I think it has something to do with getting JBoss to use "org.jboss.aop.standalone.SystemClassLoader", as the demo programs do. But I have no idea how to do this and the tutorials are very lacking when in comes to using JBossCache inside JBoss.

        • 1. Re: Using TreeCacheAopMBean

          There is a unit test case under testsuite/src/main/org/jboss/test/cache/test/aop/MBeanUnitTestCase.

          Check it out,

          -Ben

          • 2. Re: Using TreeCacheAopMBean
            belaban

            I added instructions for how to use TreeCache within JBoss, check out the docs/design/TreeCache.xml file (in the CVS).

            However, this doesn't treat TreeCacheAop, maybe we can update TreeCacheAop.xml to explain it ?

            Bela

            • 3. Re: Using TreeCacheAopMBean

              I will add it under TreeCacheAop as well.

              -Ben

              • 4. Re: Using TreeCacheAopMBean
                jbryce

                 

                "bwang00" wrote:
                There is a unit test case under testsuite/src/main/org/jboss/test/cache/test/aop/MBeanUnitTestCase.


                I was unable to find this unit test. I'm actually unable to find the testsuite directory in CVS.

                • 5. Re: Using TreeCacheAopMBean
                  jbryce

                   

                  "jbryce" wrote:
                  "bwang00" wrote:
                  There is a unit test case under testsuite/src/main/org/jboss/test/cache/test/aop/MBeanUnitTestCase.


                  I was unable to find this unit test. I'm actually unable to find the testsuite directory in CVS.


                  To follow up with my previous post, I found the test case in question under

                  /jbosstest/src/main/org/jboss/test/cache/test/aop/MBeanUnitTestCase

                  Hope this helps anyone else looking for it.