Package org.bedework.carddav.server.jmx
Class CardDavContext
java.lang.Object
org.bedework.util.jmx.ConfBase<CardDAVContextConfig>
org.bedework.carddav.server.jmx.CardDavContext
- All Implemented Interfaces:
CardDavContextMBean,org.bedework.util.jmx.BaseMBean,org.bedework.util.jmx.ConfBaseMBean,org.bedework.util.logging.Logged
public class CardDavContext
extends org.bedework.util.jmx.ConfBase<CardDAVContextConfig>
implements CardDavContextMBean
- Author:
- douglm
-
Field Summary
Fields inherited from class org.bedework.util.jmx.ConfBase
cfg, statusDone, statusFailed, statusInterrupted, statusRunning, statusStopped, statusTimedout, statusUnknown -
Constructor Summary
ConstructorsConstructorDescriptionCardDavContext(org.bedework.util.config.ConfigurationStore configStore, String serviceName, String configName) -
Method Summary
Modifier and TypeMethodDescriptionHandler prefix for address booksgetConf()booleangetUserInfo(String cua) Get info for a userget the web address service uri - null for no web address servicevoidHandler prefix for address booksvoidsetDirectoryBrowsingDisallowed(boolean val) voidvoidSet the comma separated list of web addr book searchable propertiesvoidSet the web address service uri - null for no web address serviceMethods 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.util.jmx.ConfBaseMBean
getConfigName, getStatus, saveConfig, setStatusMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn, warn
-
Constructor Details
-
Method Details
-
loadConfig
- Specified by:
loadConfigin classorg.bedework.util.jmx.ConfBase<CardDAVContextConfig>
-
setWebaddrServiceURI
Description copied from interface:CardDavContextMBeanSet the web address service uri - null for no web address service- Specified by:
setWebaddrServiceURIin interfaceCardDavContextMBean- Parameters:
val- String
-
getWebaddrServiceURI
Description copied from interface:CardDavContextMBeanget the web address service uri - null for no web address service- Specified by:
getWebaddrServiceURIin interfaceCardDavContextMBean- Returns:
- String
-
setWebaddrServicePropertiesList
Description copied from interface:CardDavContextMBeanSet the comma separated list of web addr book searchable properties- Specified by:
setWebaddrServicePropertiesListin interfaceCardDavContextMBean- Parameters:
val- String
-
getWebaddrServicePropertiesList
- Specified by:
getWebaddrServicePropertiesListin interfaceCardDavContextMBean- Returns:
- comma separated list of web addr book searchable properties
-
setWebaddrPublicAddrbook
- Specified by:
setWebaddrPublicAddrbookin interfaceCardDavContextMBean- Parameters:
val- String
-
getWebaddrPublicAddrbook
- Specified by:
getWebaddrPublicAddrbookin interfaceCardDavContextMBean- Returns:
- String
-
setDirectoryBrowsingDisallowed
public void setDirectoryBrowsingDisallowed(boolean val) - Specified by:
setDirectoryBrowsingDisallowedin interfaceCardDavContextMBean- Parameters:
val- true to disbale browsing
-
getDirectoryBrowsingDisallowed
public boolean getDirectoryBrowsingDisallowed()- Specified by:
getDirectoryBrowsingDisallowedin interfaceCardDavContextMBean- Returns:
- boolean
-
setAddressBookHandlerPrefix
Description copied from interface:CardDavContextMBeanHandler prefix for address books- Specified by:
setAddressBookHandlerPrefixin interfaceCardDavContextMBean- Parameters:
val- String
-
getAddressBookHandlerPrefix
Description copied from interface:CardDavContextMBeanHandler prefix for address books- Specified by:
getAddressBookHandlerPrefixin interfaceCardDavContextMBean- Returns:
- String
-
getUserInfo
Description copied from interface:CardDavContextMBeanGet info for a user- Specified by:
getUserInfoin interfaceCardDavContextMBean- Parameters:
cua- user address- Returns:
- List of info lines
-
getConf
- Returns:
- current state of config
-