|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseClusterMBean
Implements MBean interface for different Cluster MBean types
Method Summary | |
---|---|
void |
addServer(String name,
String[] urls,
String clusterd)
Deprecated. addServer(String, String[], String, String, String) |
void |
addServer(String name,
String[] urls,
String clusterd,
String username,
String password)
Add a new server in the cluster (jonasAdmin). |
void |
deployModule(String filename)
|
String[] |
getMembers()
|
String |
getName()
|
int |
getNbMembers()
|
String |
getState()
|
void |
removeServer(String name)
remove a server from the cluster (jonasAdmin). |
void |
startit()
|
void |
stopit()
|
void |
undeployModule(String filename)
|
void |
uploadDeployModule(String filename,
boolean replaceExisting)
|
void |
uploadFile(String filename,
boolean replaceExisting)
|
Method Detail |
---|
String getState()
String getName()
int getNbMembers()
String[] getMembers()
@Deprecated void addServer(String name, String[] urls, String clusterd) throws JMException
addServer(String, String[], String, String, String)
addServer(String, String[], String, String, String)
(name, urls, clusterd, null, null).
name
- logical name of the serverurls
- array of urls for connectionclusterd
- possible clusterdaemon managing the server
JMException
- problem when trying to a server to a clustervoid addServer(String name, String[] urls, String clusterd, String username, String password) throws JMException
name
- logical name of the serverurls
- array of urls for connectionclusterd
- possible clusterdaemon managing the serverusername
- user name to use when connecting if any. Null otherwise.password
- password to use when connecting if any. Null otherwise.
JMException
- problem when trying to a server to a clustervoid removeServer(String name) throws JMException
name
- logical name of the server
JMException
- problem when trying to a server to a clustervoid startit() throws JMException
JMException
void stopit() throws JMException
JMException
void deployModule(String filename) throws JMException
JMException
void undeployModule(String filename) throws JMException
JMException
void uploadFile(String filename, boolean replaceExisting) throws JMException
JMException
void uploadDeployModule(String filename, boolean replaceExisting) throws JMException
JMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |