2 Replies Latest reply on Apr 3, 2007 2:35 PM by vincent.marquez

    BaseInterceptor.getFqn() returns InternalFqn...?

    vincent.marquez

      It used to return the actual FQN. Guess this is a new thing in jbossCache 2.0.

      is there a way to get the actual fqn that was added to the cache, associated for this Object?

      Other then that, I really love the new 2.0 APIs. Good job guys.

      Thanks for any ideas in advance.

        • 1. Re: BaseInterceptor.getFqn() returns InternalFqn...?
          manik

          I presume you're talking about org.jboss.cache.pojo.interceptors.dynamic.BaseInterceptor? It should still return the actual Fqn. What do you see, and how do you use it?

          Thanks for the feedback, always good to hear that the new APIs are on the right track.

          • 2. Re: BaseInterceptor.getFqn() returns InternalFqn...?
            vincent.marquez

            Well, lets say I add an object to PojoCache.
            pojoCache.attach("fqnKey", new Integer(4));


            From another cache, when retrieving that Pojo, if I cast the object to advised, pass it to AopUtil.findCacheInterceptor, and then call get Fqn, it returns the internal FQN which looks something like:

            /__JBossInternal__/fqnKey/_ID_/a233a-r9awmq-f03e8rkq-1-f03e8us6-3

            I believe in 1.4.1 it returned the actual Fqn. So, my question simplified: is there a utility method to take an advised object and determine its true, original fqn?