org.codehaus.wadi.gridstate.activecluster
Class RestartableClusterFactory

java.lang.Object
  extended byorg.codehaus.wadi.gridstate.activecluster.RestartableClusterFactory
All Implemented Interfaces:
ClusterFactory

public class RestartableClusterFactory
extends Object
implements ClusterFactory


Field Summary
protected  ClusterFactory _factory
           
 
Constructor Summary
RestartableClusterFactory(ClusterFactory factory)
           
 
Method Summary
 Cluster createCluster(String topic)
           
 Cluster createCluster(Topic groupDestination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_factory

protected final ClusterFactory _factory
Constructor Detail

RestartableClusterFactory

public RestartableClusterFactory(ClusterFactory factory)
Method Detail

createCluster

public Cluster createCluster(Topic groupDestination)
                      throws ClusterException,
                             JMSException
Specified by:
createCluster in interface ClusterFactory
Throws:
ClusterException
JMSException

createCluster

public Cluster createCluster(String topic)
                      throws ClusterException,
                             JMSException
Specified by:
createCluster in interface ClusterFactory
Throws:
ClusterException
JMSException


Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.