Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1901

StatefulTreeCache should get it's region Fqn from the region

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 1.1.16, Plugin 1.0.15
    • None
    • None
    • None

      Possible minor optimization. In StatefulTreeCache.start()

      cacheNode = new Fqn(new Object[]

      { SFSB, this.ejbContainer.getDeploymentPropertyListString() }

      );

      ......

      Node regionRoot = cache.getNode(cacheNode);
      if (regionRoot == null)

      { regionRoot = cache.getRoot().addChild(cacheNode); }

      regionRoot.setResident(true);

      We should follow this with

      cacheNode = regionRoot.getFqn();

      Result is the base Fqn we use to create session Fqns is made up of the same initial elements as what's in the JBC tree. Result is equals checks on those elements become ==.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: