com.metamatrix.server
Class JGroupsProvider

java.lang.Object
  extended by com.metamatrix.server.JGroupsProvider
All Implemented Interfaces:
com.google.inject.Provider<org.jgroups.mux.Multiplexer>

public class JGroupsProvider
extends java.lang.Object
implements com.google.inject.Provider<org.jgroups.mux.Multiplexer>

This class contains a collection of utilities for managing JGroups objects.


Constructor Summary
JGroupsProvider()
           
 
Method Summary
 org.jgroups.mux.Multiplexer get()
          Helper method to create a JChannel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGroupsProvider

public JGroupsProvider()
Method Detail

get

public org.jgroups.mux.Multiplexer get()
Helper method to create a JChannel. Properties needed to create the JChannel are read from current configuration.

Specified by:
get in interface com.google.inject.Provider<org.jgroups.mux.Multiplexer>
Parameters:
String - name - Name of the group the channel will join.
Throws:
org.jgroups.ChannelException - if there is an error creating the JChannel


Copyright © 2009. All Rights Reserved.