| |
|
| java.lang.Object org.objectweb.jonas.management.cluster.BaseCluster org.objectweb.jonas.management.cluster.LogicalCluster
LogicalCluster | public class LogicalCluster extends BaseCluster implements BaseClusterMBean(Code) | | Logical Cluster: may be created by jonasAdmin, or declared in domain.xml
A default logical cluster is created for each domain, it holds all the
servers in the doamin.
author: Adriana Danes author: Philippe Durieux |
Method Summary | |
public boolean | addServer(String serverName, ServerProxy proxy) Add a Server to the list
Make link between the member and the ServerProxy.
Parameters: serverName - name of the managed server Parameters: proxy - The ServerProxy related object. | public ClusterMember | createClusterMember(String svname, ServerProxy proxy) | public String | getType() | public synchronized void | removeServer(String svname) MBean operation which overides the BaseCluster's one
It removes the corresponding member object from the members
list and unregisters the corresponding ServerProxy MBean if this
is the domain cluster. |
type | protected String type(Code) | | The type of Cluster, that is part of the MBean ObjectName
|
addServer | public boolean addServer(String serverName, ServerProxy proxy)(Code) | | Add a Server to the list
Make link between the member and the ServerProxy.
Parameters: serverName - name of the managed server Parameters: proxy - The ServerProxy related object. True if correctly added in the List. |
getType | public String getType()(Code) | | The String type to be put in the ObjectName |
removeServer | public synchronized void removeServer(String svname)(Code) | | MBean operation which overides the BaseCluster's one
It removes the corresponding member object from the members
list and unregisters the corresponding ServerProxy MBean if this
is the domain cluster.
Note that the ClusterMember MBean is not unregistered (it will
be done in case of the re-register of a new member in case the server
is re-added to the domain).
Remove a server from the cluster (jonasAdmin)
Parameters: svname - logical name of the server |
|
|
|