[jboss-dev-forums] [Design of JBossCache] - Re: Channel creation - mux vs. old style

manik.surtani@jboss.com do-not-reply at jboss.com
Thu Apr 26 11:09:33 EDT 2007


Looking at JBCACHE-1023, and with reference to this, how would we deal with potentially injecting both a ChannelFactory as wel as a Channel?

If the Channel is null, fall back to the ChannelFactory and use the CF to create a channel?  And if the CF is null, create a new JChannel with cluster props (or default cluster props?)

Would be nice if we could combine the injection of a Channel and a ChannelFactory in a single call.  What about just injecting a CF?  For JBCACHE-1023, people could write a CF impl to return their channel.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041035#4041035

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041035



More information about the jboss-dev-forums mailing list