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
-
-
Constructor Summary
Constructors Constructor Description CardDavContext(org.bedework.util.config.ConfigurationStore configStore, String serviceName, String configName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddressBookHandlerPrefix()Handler prefix for address booksCardDAVContextConfiggetConf()booleangetDirectoryBrowsingDisallowed()List<String>getUserInfo(String cua)Get info for a userStringgetWebaddrPublicAddrbook()StringgetWebaddrServicePropertiesList()StringgetWebaddrServiceURI()get the web address service uri - null for no web address serviceStringloadConfig()voidsetAddressBookHandlerPrefix(String val)Handler prefix for address booksvoidsetDirectoryBrowsingDisallowed(boolean val)voidsetWebaddrPublicAddrbook(String val)voidsetWebaddrServicePropertiesList(String val)Set the comma separated list of web addr book searchable propertiesvoidsetWebaddrServiceURI(String val)Set the web address service uri - null for no web address service-
Methods inherited from class org.bedework.util.jmx.ConfBase
createObjectName, getConfig, getConfigInfo, getConfigInfo, getConfigInfo, getConfigName, getConfigPname, getConfigUri, getLogger, getManagementContext, getPathSuffix, getRegisteredMBeans, getServiceName, getServiceObjectName, getStatus, getStore, isRunning, loadConfig, loadOnlyConfig, makeObject, register, register, saveConfig, setConfigName, setConfigPname, setConfigUri, setPathSuffix, setServiceName, setStatus, setStore, start, stop, unregister, unregister
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.util.jmx.BaseMBean
getServiceName, isRunning, start, stop
-
Methods inherited from interface org.bedework.util.jmx.ConfBaseMBean
getConfigName, getStatus, saveConfig, setConfigName, setStatus
-
Methods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, setLogLevel, trace, trace, warn
-
-
-
-
Method Detail
-
loadConfig
public String loadConfig()
- Specified by:
loadConfigin classorg.bedework.util.jmx.ConfBase<CardDAVContextConfig>
-
setWebaddrServiceURI
public void setWebaddrServiceURI(String val)
Description copied from interface:CardDavContextMBeanSet the web address service uri - null for no web address service- Specified by:
setWebaddrServiceURIin interfaceCardDavContextMBean- Parameters:
val- String
-
getWebaddrServiceURI
public 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
public void setWebaddrServicePropertiesList(String val)
Description copied from interface:CardDavContextMBeanSet the comma separated list of web addr book searchable properties- Specified by:
setWebaddrServicePropertiesListin interfaceCardDavContextMBean- Parameters:
val- String
-
getWebaddrServicePropertiesList
public String getWebaddrServicePropertiesList()
- Specified by:
getWebaddrServicePropertiesListin interfaceCardDavContextMBean- Returns:
- comma separated list of web addr book searchable properties
-
setWebaddrPublicAddrbook
public void setWebaddrPublicAddrbook(String val)
- Specified by:
setWebaddrPublicAddrbookin interfaceCardDavContextMBean- Parameters:
val- String
-
getWebaddrPublicAddrbook
public 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
public void setAddressBookHandlerPrefix(String val)
Description copied from interface:CardDavContextMBeanHandler prefix for address books- Specified by:
setAddressBookHandlerPrefixin interfaceCardDavContextMBean- Parameters:
val- String
-
getAddressBookHandlerPrefix
public String getAddressBookHandlerPrefix()
Description copied from interface:CardDavContextMBeanHandler prefix for address books- Specified by:
getAddressBookHandlerPrefixin interfaceCardDavContextMBean- Returns:
- String
-
getUserInfo
public List<String> getUserInfo(String cua)
Description copied from interface:CardDavContextMBeanGet info for a user- Specified by:
getUserInfoin interfaceCardDavContextMBean- Parameters:
cua- user address- Returns:
- List of info lines
-
getConf
public CardDAVContextConfig getConf()
- Returns:
- current state of config
-
-