Class BwHost
java.lang.Object
org.bedework.util.jmx.ConfBase<HostInfo>
org.bedework.calsvc.scheduling.hosts.BwHost
- All Implemented Interfaces:
BwHostMBean,org.bedework.util.jmx.BaseMBean,org.bedework.util.jmx.ConfBaseMBean,org.bedework.util.logging.Logged
- Author:
- douglm
-
Field Summary
Fields inherited from class org.bedework.util.jmx.ConfBase
cfg, statusDone, statusFailed, statusInterrupted, statusRunning, statusStopped, statusTimedout, statusUnknown -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDkimPublicKey(String selector, String val) Add a dkim public keydisplay()getDkimPublicKey(String selector) Get a dkim public keyGet the hostname for the current entry.Get the iSchedule principal for the current entry.Get the iSchedule pw for the current entry.Get the iSchedule url for the current entry.booleanTrue if we delivered our public key for use for dkimintgetPort()Get the port for the current entry.booleanGet the secure flag for the current entry.voidremoveDkimPublicKey(String selector) Remove a dkim public keyvoidsetDkimPublicKey(String selector, String val) Set a dkim public keyvoidSet the iSchedule principal for the current entry.voidsetISchedulePw(String val) Set the iSchedule pw for the current entry.voidsetIScheduleUrl(String val) Set the iSchedule url for the current entry.voidsetIScheduleUsePublicKey(boolean val) voidsetPort(int val) voidsetSecure(boolean val) Set the secure flag for the current entry.Methods inherited from class org.bedework.util.jmx.ConfBase
createObjectName, ensureDir, getConfig, getConfigDirectory, getConfigInfo, getConfigInfo, getConfigInfo, getConfigName, getLogger, getManagementContext, getPathSuffix, getRegisteredMBeans, getServiceName, getServiceObjectName, getStatus, getStore, isRunning, loadConfig, makeObject, register, register, saveConfig, setStatus, setStore, start, stop, unregister, unregisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bedework.util.jmx.BaseMBean
getServiceName, isRunning, start, stopMethods inherited from interface org.bedework.calsvc.scheduling.hosts.BwHostMBean
saveConfigMethods inherited from interface org.bedework.util.jmx.ConfBaseMBean
getConfigName, getStatus, setStatusMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
Method Details
-
loadConfig
- Specified by:
loadConfigin classorg.bedework.util.jmx.ConfBase<HostInfo>
-
getHostname
Get the hostname for the current entry.- Specified by:
getHostnamein interfaceBwHostMBean- Returns:
- hostname
-
setPort
public void setPort(int val) - Specified by:
setPortin interfaceBwHostMBean- Parameters:
val- the port for the current entry.
-
getPort
public int getPort()Get the port for the current entry.- Specified by:
getPortin interfaceBwHostMBean- Returns:
- port
-
setSecure
public void setSecure(boolean val) Set the secure flag for the current entry.- Specified by:
setSecurein interfaceBwHostMBean- Parameters:
val- secureflag
-
getSecure
public boolean getSecure()Get the secure flag for the current entry.- Specified by:
getSecurein interfaceBwHostMBean- Returns:
- secure flag
-
setIScheduleUrl
Set the iSchedule url for the current entry.- Specified by:
setIScheduleUrlin interfaceBwHostMBean- Parameters:
val- ischedule url
-
getIScheduleUrl
Get the iSchedule url for the current entry.- Specified by:
getIScheduleUrlin interfaceBwHostMBean- Returns:
- iSchedule url
-
addDkimPublicKey
Description copied from interface:BwHostMBeanAdd a dkim public key- Specified by:
addDkimPublicKeyin interfaceBwHostMBean
-
getDkimPublicKey
Description copied from interface:BwHostMBeanGet a dkim public key- Specified by:
getDkimPublicKeyin interfaceBwHostMBean- Returns:
- value or null
-
removeDkimPublicKey
Description copied from interface:BwHostMBeanRemove a dkim public key- Specified by:
removeDkimPublicKeyin interfaceBwHostMBean
-
setDkimPublicKey
Description copied from interface:BwHostMBeanSet a dkim public key- Specified by:
setDkimPublicKeyin interfaceBwHostMBean
-
getDkimPublicKeys
- Specified by:
getDkimPublicKeysin interfaceBwHostMBean- Returns:
- String val
-
setIScheduleUsePublicKey
public void setIScheduleUsePublicKey(boolean val) - Specified by:
setIScheduleUsePublicKeyin interfaceBwHostMBean- Parameters:
val- boolean
-
getIScheduleUsePublicKey
public boolean getIScheduleUsePublicKey()Description copied from interface:BwHostMBeanTrue if we delivered our public key for use for dkim- Specified by:
getIScheduleUsePublicKeyin interfaceBwHostMBean- Returns:
- String
-
setISchedulePrincipal
Set the iSchedule principal for the current entry.- Specified by:
setISchedulePrincipalin interfaceBwHostMBean- Parameters:
val- ischedule principal
-
getISchedulePrincipal
Get the iSchedule principal for the current entry.- Specified by:
getISchedulePrincipalin interfaceBwHostMBean- Returns:
- iSchedule principal
-
setISchedulePw
Set the iSchedule pw for the current entry.- Specified by:
setISchedulePwin interfaceBwHostMBean- Parameters:
val- ischedule pw
-
getISchedulePw
Get the iSchedule pw for the current entry.- Specified by:
getISchedulePwin interfaceBwHostMBean- Returns:
- iSchedule pw
-
display
- Specified by:
displayin interfaceBwHostMBean- Returns:
- host information
-