|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.ant.jonasbase.Tasks org.ow2.jonas.ant.cluster.ClusterTasks org.ow2.jonas.ant.cluster.ClusterDaemon
public class ClusterDaemon
Configures the cluster daemon
Field Summary |
---|
Fields inherited from class org.ow2.jonas.ant.cluster.ClusterTasks |
---|
ARCH_BOTH_WEB_EJB, ARCH_SEPARATED_WEB_EJB |
Constructor Summary | |
---|---|
ClusterDaemon()
Default constructor |
Method Summary | |
---|---|
void |
addServersDefinition()
Add the servers definition in the clusterd.xml |
void |
generatesTasks()
Generates the script tasks |
void |
setAutoBoot(String autoBoot)
Set auto boot |
void |
setCdDir(String cdDir)
cluster daemon directory |
void |
setClusterNodesName(String clusterNodesName)
set the name prefix for the cluster nodes |
void |
setDomainName(String domainName)
Set the domain name |
void |
setInstNb(int instNb)
Set nodes number |
void |
setInteractionMode(String interactionMode)
interaction mode |
void |
setJdk(String jdk)
jdk to use |
void |
setJonasRoot(String jonasRoot)
Set JONAS_ROOT |
void |
setName(String name)
Set the name |
void |
setPort(String port)
port number |
void |
setProtocol(String protocol)
set the protocol |
void |
setXprm(String xprm)
Set xprm |
void |
updateCarol()
update the carol.propertier |
void |
updateDomainName()
update the domain name |
void |
updateInteractionMode()
update the interaction mode |
void |
updateName()
update the name |
Methods inherited from class org.ow2.jonas.ant.cluster.ClusterTasks |
---|
addClusterTask, getArch, getClusterTasks, getDestDir, getDestDirPrefix, getDestDirSuffixIndFirst, getDestDirSuffixIndLast, getEjbInstNb, getLogInfo, getRootTask, getWebInstNb, log, setArch, setDestDirPrefix, setDestDirSuffixIndFirst, setDestDirSuffixIndLast, setEjbInstNb, setLogInfo, setRootTask, setWebInstNb |
Methods inherited from class org.ow2.jonas.ant.jonasbase.Tasks |
---|
addTask, addTasks, addTasks, getTasks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterDaemon()
Method Detail |
---|
public void addServersDefinition()
public void updateName()
public void updateDomainName()
public void updateInteractionMode()
public void updateCarol()
public void setInstNb(int instNb)
instNb
- nodes nbpublic void setCdDir(String cdDir)
cdDir
- directorypublic void setName(String name)
name
- namepublic void setDomainName(String domainName)
domainName
- domain namepublic void setInteractionMode(String interactionMode)
interactionMode
- loosely/tighly coupledpublic void setJdk(String jdk)
jdk
- jdkpublic void setPort(String port)
port
- port numberpublic void setProtocol(String protocol)
protocol
- protocolpublic void setJonasRoot(String jonasRoot)
jonasRoot
- JONAS_ROOTpublic void setClusterNodesName(String clusterNodesName)
clusterNodesName
- prefix of the nodes names in the clusterpublic void setAutoBoot(String autoBoot)
autoBoot
- true/falsepublic void setXprm(String xprm)
xprm
- xprmpublic void generatesTasks()
generatesTasks
in class ClusterTasks
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |