Package org.bedework.carddav.server.jmx
Class CardDav
- java.lang.Object
-
- org.bedework.util.jmx.ConfBase<CardDAVConfig>
-
- org.bedework.carddav.server.jmx.CardDav
-
- All Implemented Interfaces:
CardDAVConfigI,CardDavMBean,org.bedework.util.jmx.BaseMBean,org.bedework.util.jmx.ConfBaseMBean,org.bedework.util.logging.Logged
public class CardDav extends org.bedework.util.jmx.ConfBase<CardDAVConfig> implements CardDavMBean
- Author:
- douglm
-
-
Field Summary
Fields Modifier and Type Field Description static StringserviceName
-
Constructor Summary
Constructors Constructor Description CardDav()
-
Method Summary
-
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
-
-
-
-
Field Detail
-
serviceName
public static final String serviceName
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConf
public CardDAVContextConfig getConf(String configName)
- Parameters:
configName- name of context config- Returns:
- config for given service
-
setDataOut
public void setDataOut(String val)
Description copied from interface:CardDavMBeandata output directory name - full path. Used for data export- Specified by:
setDataOutin interfaceCardDAVConfigI- Specified by:
setDataOutin interfaceCardDavMBean- Parameters:
val- path
-
getDataOut
public String getDataOut()
- Specified by:
getDataOutin interfaceCardDAVConfigI- Specified by:
getDataOutin interfaceCardDavMBean- Returns:
- data output full path
-
setDefaultVcardVersion
public void setDefaultVcardVersion(String val)
- Specified by:
setDefaultVcardVersionin interfaceCardDAVConfigI
-
getDefaultVcardVersion
public String getDefaultVcardVersion()
- Specified by:
getDefaultVcardVersionin interfaceCardDAVConfigI
-
setSysintfImpl
public void setSysintfImpl(String val)
- Specified by:
setSysintfImplin interfaceCardDAVConfigI
-
getSysintfImpl
public String getSysintfImpl()
- Specified by:
getSysintfImplin interfaceCardDAVConfigI
-
setDefaultAddressbook
public void setDefaultAddressbook(String val)
- Specified by:
setDefaultAddressbookin interfaceCardDAVConfigI
-
getDefaultAddressbook
public String getDefaultAddressbook()
- Specified by:
getDefaultAddressbookin interfaceCardDAVConfigI
-
setUserHomeRoot
public void setUserHomeRoot(String val)
- Specified by:
setUserHomeRootin interfaceCardDAVConfigI
-
getUserHomeRoot
public String getUserHomeRoot()
- Specified by:
getUserHomeRootin interfaceCardDAVConfigI
-
setPrincipalRoot
public void setPrincipalRoot(String val)
- Specified by:
setPrincipalRootin interfaceCardDAVConfigI
-
getPrincipalRoot
public String getPrincipalRoot()
- Specified by:
getPrincipalRootin interfaceCardDAVConfigI
-
setUserPrincipalRoot
public void setUserPrincipalRoot(String val)
- Specified by:
setUserPrincipalRootin interfaceCardDAVConfigI
-
getUserPrincipalRoot
public String getUserPrincipalRoot()
- Specified by:
getUserPrincipalRootin interfaceCardDAVConfigI
-
setGroupPrincipalRoot
public void setGroupPrincipalRoot(String val)
- Specified by:
setGroupPrincipalRootin interfaceCardDAVConfigI
-
getGroupPrincipalRoot
public String getGroupPrincipalRoot()
- Specified by:
getGroupPrincipalRootin interfaceCardDAVConfigI
-
setResourcePrincipalRoot
public void setResourcePrincipalRoot(String val)
- Specified by:
setResourcePrincipalRootin interfaceCardDAVConfigI
-
getResourcePrincipalRoot
public String getResourcePrincipalRoot()
- Specified by:
getResourcePrincipalRootin interfaceCardDAVConfigI
-
setVenuePrincipalRoot
public void setVenuePrincipalRoot(String val)
- Specified by:
setVenuePrincipalRootin interfaceCardDAVConfigI
-
getVenuePrincipalRoot
public String getVenuePrincipalRoot()
- Specified by:
getVenuePrincipalRootin interfaceCardDAVConfigI
-
setTicketPrincipalRoot
public void setTicketPrincipalRoot(String val)
- Specified by:
setTicketPrincipalRootin interfaceCardDAVConfigI
-
getTicketPrincipalRoot
public String getTicketPrincipalRoot()
- Specified by:
getTicketPrincipalRootin interfaceCardDAVConfigI
-
setHostPrincipalRoot
public void setHostPrincipalRoot(String val)
- Specified by:
setHostPrincipalRootin interfaceCardDAVConfigI
-
getHostPrincipalRoot
public String getHostPrincipalRoot()
- Specified by:
getHostPrincipalRootin interfaceCardDAVConfigI
-
ListDirHandlersTable
public TabularData ListDirHandlersTable()
- Specified by:
ListDirHandlersTablein interfaceCardDavMBean- Returns:
- List of dir handler mappings
-
ListDirHandlers
public String ListDirHandlers()
- Specified by:
ListDirHandlersin interfaceCardDavMBean- Returns:
- List of dir handler mappings
-
exportData
public List<String> exportData()
Description copied from interface:CardDavMBeanExport data- Specified by:
exportDatain interfaceCardDavMBean- Returns:
- List of info lines
-
loadConfig
public String loadConfig()
- Specified by:
loadConfigin classorg.bedework.util.jmx.ConfBase<CardDAVConfig>
-
-