Package de.xima.fc.gui.bean.settings
Class ClusterBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ClusterBean extends FCContextBean implements Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUC
-
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
-
Constructor Summary
Constructors Constructor Description ClusterBean()
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
-
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
getNodeName
public String getNodeName()
-
setNodeName
public void setNodeName(String nodeName)
-
getGroupName
public String getGroupName()
-
setGroupName
public void setGroupName(String groupName)
-
getType
public ENodeType getType()
-
setType
public void setType(ENodeType type)
-
getUdpMcastAdress
public String getUdpMcastAdress()
- Returns:
- the mcastAdress
-
setUdpMcastAdress
public void setUdpMcastAdress(String mcastAdress)
- Parameters:
mcastAdress
- the mcastAdress to set
-
getUdpMcastPort
public Integer getUdpMcastPort()
- Returns:
- the mcastPort
-
setUdpMcastPort
public void setUdpMcastPort(Integer mcastPort)
- Parameters:
mcastPort
- the mcastPort to set
-
getBindAdress
public String getBindAdress()
- Returns:
- the bindAdress
-
setBindAdress
public void setBindAdress(String bindAdress)
- Parameters:
bindAdress
- the bindAdress to set
-
getBindPort
public Integer getBindPort()
- Returns:
- the bindPort
-
setBindPort
public void setBindPort(Integer bindPort)
- Parameters:
bindPort
- the bindPort to set
-
isExtended
public boolean isExtended()
- Returns:
- the extended
-
setExtended
public void setExtended(boolean extended)
- Parameters:
extended
- the extended to set
-
getProtocol
public EClusterProtocolType getProtocol()
- Returns:
- the protocol
-
setProtocol
public void setProtocol(EClusterProtocolType protocol)
- Parameters:
protocol
- the protocol to set
-
isUseExternalAdress
public boolean isUseExternalAdress()
- Returns:
- the useExternalAdress
-
setUseExternalAdress
public void setUseExternalAdress(boolean useExternalAdress)
- Parameters:
useExternalAdress
- the useExternalAdress to set
-
getExternalAdress
public String getExternalAdress()
- Returns:
- the externalAdress
-
setExternalAdress
public void setExternalAdress(String externalAdress)
- Parameters:
externalAdress
- the externalAdress to set
-
getExternalPort
public Integer getExternalPort()
- Returns:
- the externalPort
-
setExternalPort
public void setExternalPort(Integer externalPort)
- Parameters:
externalPort
- the externalPort to set
-
setTcpHostList
public void setTcpHostList(List<GenericStringModel> tcpHostList)
- Parameters:
tcpHostList
- the tcpHostList to set
-
getTcpHostList
public List<GenericStringModel> getTcpHostList()
- Returns:
- the tcpHostList
-
addTcpHost
public void addTcpHost()
-
removeTcpHost
public void removeTcpHost(GenericStringModel host)
-
isUseDynamicNodeName
public boolean isUseDynamicNodeName()
-
setUseDynamicNodeName
public void setUseDynamicNodeName(boolean useDynamicNodeName)
-
save
public void save()
Schreiben der Clusterkonfiguration aus der Oberfläche in eine Propertiesdatei. Es werden immer alle Properties geschrieben, auch wenn der Cluster deaktiviert ist. Beim Auswerten der Clusterkonfiguration muss damit immer die PropertyXfcConfigKeys.Cluster.ACTIVE
geprüft werden.
-
isLocal
public boolean isLocal(NodeModel node)
-
-