Package de.xima.fc.gui.bean.settings
Class ClusterBean
- All Implemented Interfaces:
Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
getType()
boolean
isActive()
boolean
boolean
boolean
boolean
void
void
save()
Schreiben der Clusterkonfiguration aus der Oberfläche in eine Propertiesdatei.void
setActive
(boolean active) void
setBindAdress
(String bindAdress) void
setBindPort
(Integer bindPort) void
setExtended
(boolean extended) void
setExternalAdress
(String externalAdress) void
setExternalPort
(Integer externalPort) void
setGroupName
(String groupName) void
setNodeName
(String nodeName) void
setProtocol
(EClusterProtocolType protocol) void
setTcpHostList
(List<GenericStringModel> tcpHostList) void
void
setUdpMcastAdress
(String mcastAdress) void
setUdpMcastPort
(Integer mcastPort) void
setUseDynamicNodeName
(boolean useDynamicNodeName) void
setUseExternalAdress
(boolean useExternalAdress) 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, 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, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msg
Methods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
ClusterBean
public ClusterBean()
-
-
Method Details
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
getNodeName
-
setNodeName
-
getGroupName
-
setGroupName
-
getType
-
setType
-
getUdpMcastAdress
- Returns:
- the mcastAdress
-
setUdpMcastAdress
- Parameters:
mcastAdress
- the mcastAdress to set
-
getUdpMcastPort
- Returns:
- the mcastPort
-
setUdpMcastPort
- Parameters:
mcastPort
- the mcastPort to set
-
getBindAdress
- Returns:
- the bindAdress
-
setBindAdress
- Parameters:
bindAdress
- the bindAdress to set
-
getBindPort
- Returns:
- the bindPort
-
setBindPort
- 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
-
getClusterNodes
-
getProtocol
- Returns:
- the protocol
-
setProtocol
- 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
- Returns:
- the externalAdress
-
setExternalAdress
- Parameters:
externalAdress
- the externalAdress to set
-
getExternalPort
- Returns:
- the externalPort
-
setExternalPort
- Parameters:
externalPort
- the externalPort to set
-
setTcpHostList
- Parameters:
tcpHostList
- the tcpHostList to set
-
getTcpHostList
- Returns:
- the tcpHostList
-
addTcpHost
public void addTcpHost() -
removeTcpHost
-
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
-