[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1023) Inject preconfigured JGroups Channel from external implementation

Bill Middleton (JIRA) jira-events at lists.jboss.org
Thu Apr 12 15:46:58 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-1023?page=all ]

Bill Middleton updated JBCACHE-1023:
------------------------------------

    Attachment: patch.txt

Generally, thispatch adds a new constructor, CacheImpl(Channel c).  This is called by a new createChannel() method in the DefaultChannelFactory which accepts a channel, configuration, and boolean.  If the new constructor is used to construct a ChannelImpl, then a global boolean is set which makes the create() method do the right thing at init-time. 

> Inject preconfigured JGroups Channel from external implementation
> -----------------------------------------------------------------
>
>                 Key: JBCACHE-1023
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1023
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>            Reporter: Bill Middleton
>         Assigned To: Manik Surtani
>         Attachments: patch.txt
>
>
> The current cache implementation contains and manages its own JGroups Channel.  It would be useful for those of us using the Cache outside of a full app server to be able to inject our own pre-configured JChannel to the Cache.   
> The original discussions regarding this issue occured on the dev mailing list during April 2007
> http://lists.jboss.org/pipermail/jbosscache-dev/2007-April/thread.html
> A patch is (will be) attached which implements the desired functionality by providing an extra method in the DefaultFactory and a new constructor for CacheImpl.  This makes everything "work ok for me", using either multiplexed or "ordinary" JChannels.   Unknown if or whether this patch is an appropriate fix.  

-- 
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