com.sun.enterprise.config.serverbeans
Interface Clusters

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

public interface Clusters
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

Clusters configuration. Maintain a list of Cluster active configurations.


Nested Class Summary
static class Clusters.Duck
           
 
Method Summary
 List<Cluster> getCluster()
          Return the list of clusters currently configured
 Cluster getCluster(String name)
          Return the cluster with the given name, or null if no such cluster exists.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getCluster

List<Cluster> getCluster()
Return the list of clusters currently configured

Returns:
list of Cluster

getCluster

@DuckTyped
Cluster getCluster(String name)
Return the cluster with the given name, or null if no such cluster exists.

Parameters:
name - the name of the cluster
Returns:
the Cluster object, or null if no such server


Copyright © 2012 GlassFish Community. All Rights Reserved.