org.shiftone.cache.decorator.cluster.jgroups
Class JGroupsClusterCacheFactory

java.lang.Object
  extended byorg.shiftone.cache.decorator.cluster.AbstractClusterCacheFactory
      extended byorg.shiftone.cache.decorator.cluster.jgroups.JGroupsClusterCacheFactory
All Implemented Interfaces:
CacheFactory, NotificationListener

public class JGroupsClusterCacheFactory
extends AbstractClusterCacheFactory


Field Summary
static java.lang.String DEFAULT_BUS_NAME
           
 
Constructor Summary
JGroupsClusterCacheFactory()
           
 
Method Summary
protected  Transport createTransport()
           
 java.lang.String getBusName()
           
 java.lang.String getChannelProperties()
           
 void setBusName(java.lang.String busName)
           
 void setChannelProperties(java.lang.String channelProperties)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.shiftone.cache.decorator.cluster.AbstractClusterCacheFactory
getInstanceId, getTransport, newInstance, onNotification, sendClearNotification, sendRemoveNotification, setDelegate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_BUS_NAME

public static final java.lang.String DEFAULT_BUS_NAME
See Also:
Constant Field Values
Constructor Detail

JGroupsClusterCacheFactory

public JGroupsClusterCacheFactory()
Method Detail

createTransport

protected Transport createTransport()
                             throws java.lang.Exception
Specified by:
createTransport in class AbstractClusterCacheFactory
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception

getChannelProperties

public java.lang.String getChannelProperties()

setChannelProperties

public void setChannelProperties(java.lang.String channelProperties)

getBusName

public java.lang.String getBusName()

setBusName

public void setBusName(java.lang.String busName)