org.codehaus.activecluster
Interface ClusterFactory

All Known Implementing Classes:
DefaultClusterFactory

public interface ClusterFactory

A Factory of Cluster instances

Version:
$Revision: 1.3 $

Method Summary
 Cluster createCluster(String topic)
          Creates a new cluster connection using the given topic name
 Cluster createCluster(Topic groupDestination)
          Creates a new cluster connection using the given group
 

Method Detail

createCluster

public Cluster createCluster(Topic groupDestination)
                      throws ClusterException,
                             JMSException
Creates a new cluster connection using the given group

Parameters:
groupDestination -
Returns:
Cluster
Throws:
ClusterException
JMSException

createCluster

public Cluster createCluster(String topic)
                      throws ClusterException,
                             JMSException
Creates a new cluster connection using the given topic name

Parameters:
topic - is the name of the topic to use
Returns:
Cluster
Throws:
ClusterException
JMSException


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.