]
jaikiran pai reopened EJBTHREE-1901:
------------------------------------
Re-opening to mark it as fixed in Plugin 1.0.15
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, Plugin 1.0.15
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: