]
Brian Stansberry closed EJBTHREE-1901.
--------------------------------------
Fix Version/s: 1.1.16
Resolution: Done
StatefulTreeCache should get it's region Fqn from the region
------------------------------------------------------------
Key: EJBTHREE-1901
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1901
Project: EJB 3.0
Issue Type: Task
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
Fix For: 1.1.16
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
==.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: