tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "侯占斌" <chillwarm...@gmail.com>
Subject Why synchronize localEjbs
Date Thu, 03 Jul 2008 06:46:39 GMT
Why synchronized localEjbs in line 323 of
org.apache.catalina.deploy.NamingResources class.
I think it should be replaced by resourceEnvRefs.
line:323 synchronized (localEjbs) {
            resource.setNamingResources(this);
            resourceEnvRefs.put(resource.getName(), resource);
        }
        support.firePropertyChange("resourceEnvRef", null, resource);

-- 
Best Regards!
Hou Zhanbin(侯占斌)
msn:hzb83@hotmail.com <msn%3Ahzb83@hotmail.com>
http://chillwarmoon.javaeye.com
https://sourceforge.net/projects/jamocha
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message