[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-848) ClusteredStatefulCacheListener should be a singleton

Brian Stansberry (JIRA) jira-events at jboss.com
Fri Jan 26 23:17:01 EST 2007


ClusteredStatefulCacheListener should be a singleton
----------------------------------------------------

                 Key: EJBTHREE-848
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-848
             Project: EJB 3.0
          Issue Type: Task
          Components: Clustering
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry
            Priority: Minor
             Fix For: EJB 3.0 RC11 - FD


Currently, each SFSB Container registers an instance of ClusteredStatefulCacheListener with the SFSB cache.  This is inefficient if there are many containers, as each gets passivation/activation callbacks and has to filter for the ones it's interested in. The callbacks don't do anything container-specific, so it should be possible to use a quasi-singleton ClusteredStatefulCacheListener and eliminate the filtering.

Quasi-singleton, because it's possible to have multiple SFSB caches; need one listener per cache.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list