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
systemUCFields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetType()booleanisActive()booleanbooleanbooleanbooleanvoidvoidsave()Schreiben der Clusterkonfiguration aus der Oberfläche in eine Propertiesdatei.voidsetActive(boolean active) voidsetBindAdress(String bindAdress) voidsetBindPort(Integer bindPort) voidsetExtended(boolean extended) voidsetExternalAdress(String externalAdress) voidsetExternalPort(Integer externalPort) voidsetGroupName(String groupName) voidsetNodeName(String nodeName) voidsetProtocol(EClusterProtocolType protocol) voidsetTcpHostList(List<GenericStringModel> tcpHostList) voidvoidsetUdpMcastAdress(String mcastAdress) voidsetUdpMcastPort(Integer mcastPort) voidsetUseDynamicNodeName(boolean useDynamicNodeName) voidsetUseExternalAdress(boolean useExternalAdress) Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubViewMethods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDBMethods 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, ucMethods 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, msgMethods 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.ACTIVEgeprüft werden. -
isLocal
-