On 30 Sep 2009, at 13:23, Galder Zamarreno wrote:
On 09/30/2009 01:42 PM, Mircea Markus wrote:
> Can't we use an
> interface JGroupsChannelLookup {
> JChannel lookupChannel();
> }
> This can be specified as a parameter to the trasport
> <property name="txLookup"
value="org.xyz.MySpecificLookup"/>
>
> we are using 2 lookups already (TM, MBeanServerLookup) and this would
> be consistent with the code base.
> I would stick with the lookup within JGroupsTransport and not within
> the TransportLookup, as this seems rather particular.
+1.
It's something like this what I had in mind with my previous email but
forgot of how complex JGroupsTransport and that it does much more than
only create the JChannel.
Makes sense. Brian, thoughts? Does this work for you?
Cheers
Manik
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org