public class P6SpyOptions extends StandardMBean implements P6SpyLoadableOptions
Modifier and Type | Field and Description |
---|---|
static String |
APPEND |
static String |
APPENDER |
static String |
APPENDER_INSTANCE |
static String |
AUTOFLUSH |
static String |
DATABASE_DIALECT_DATE_FORMAT |
static String |
DATEFORMAT |
static Map<String,String> |
defaults |
static String |
DRIVER_NAMES |
static String |
DRIVERLIST |
static String |
JMX |
static String |
JMX_PREFIX |
static String |
JNDICONTEXTCUSTOM |
static String |
JNDICONTEXTFACTORY |
static String |
JNDICONTEXTPROVIDERURL |
static String |
LOG_MESSAGE_FORMAT |
static String |
LOG_MESSAGE_FORMAT_INSTANCE |
static String |
LOGFILE |
static String |
MODULE_FACTORIES |
static String |
MODULE_NAMES |
static String |
MODULELIST |
static String |
REALDATASOURCE |
static String |
REALDATASOURCECLASS |
static String |
REALDATASOURCEPROPERTIES |
static String |
RELOADPROPERTIES |
static String |
RELOADPROPERTIESINTERVAL |
static String |
STACKTRACE |
static String |
STACKTRACECLASS |
Constructor and Description |
---|
P6SpyOptions(P6OptionsRepository optionsRepository) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
public static final String AUTOFLUSH
public static final String DRIVERLIST
public static final String LOGFILE
public static final String LOG_MESSAGE_FORMAT
public static final String APPEND
public static final String DATEFORMAT
public static final String APPENDER
public static final String MODULELIST
public static final String STACKTRACE
public static final String STACKTRACECLASS
public static final String RELOADPROPERTIES
public static final String RELOADPROPERTIESINTERVAL
public static final String JNDICONTEXTFACTORY
public static final String JNDICONTEXTPROVIDERURL
public static final String JNDICONTEXTCUSTOM
public static final String REALDATASOURCE
public static final String REALDATASOURCECLASS
public static final String REALDATASOURCEPROPERTIES
public static final String DATABASE_DIALECT_DATE_FORMAT
public static final String JMX
public static final String JMX_PREFIX
public static final String DRIVER_NAMES
public static final String MODULE_FACTORIES
public static final String MODULE_NAMES
public static final String LOG_MESSAGE_FORMAT_INSTANCE
public static final String APPENDER_INSTANCE
public P6SpyOptions(P6OptionsRepository optionsRepository)
public void load(Map<String,String> options)
P6LoadableOptions
load
in interface P6LoadableOptions
options
- options to be loaded.public static P6SpyLoadableOptions getActiveInstance()
P6SpyLoadableOptions
public void reload()
P6SpyOptionsMBean
reload
in interface P6SpyOptionsMBean
public Set<P6Factory> getModuleFactories()
getModuleFactories
in interface P6SpyLoadableOptions
public void setAutoflush(String autoflush)
setAutoflush
in interface P6SpyLoadableOptions
public void setAutoflush(boolean autoflush)
setAutoflush
in interface P6SpyOptionsMBean
public boolean getAutoflush()
getAutoflush
in interface P6SpyOptionsMBean
public String getDriverlist()
getDriverlist
in interface P6SpyOptionsMBean
public void setDriverlist(String driverlist)
setDriverlist
in interface P6SpyOptionsMBean
public boolean getReloadProperties()
getReloadProperties
in interface P6SpyOptionsMBean
public void setReloadProperties(String reloadproperties)
setReloadProperties
in interface P6SpyLoadableOptions
public void setReloadProperties(boolean reloadproperties)
setReloadProperties
in interface P6SpyOptionsMBean
public long getReloadPropertiesInterval()
getReloadPropertiesInterval
in interface P6SpyOptionsMBean
public void setReloadPropertiesInterval(String reloadpropertiesinterval)
setReloadPropertiesInterval
in interface P6SpyLoadableOptions
public void setReloadPropertiesInterval(long reloadpropertiesinterval)
setReloadPropertiesInterval
in interface P6SpyOptionsMBean
public void setJNDIContextFactory(String jndicontextfactory)
setJNDIContextFactory
in interface P6SpyOptionsMBean
public void unSetJNDIContextFactory()
unSetJNDIContextFactory
in interface P6SpyOptionsMBean
public String getJNDIContextFactory()
getJNDIContextFactory
in interface P6SpyOptionsMBean
public void unSetJNDIContextProviderURL()
unSetJNDIContextProviderURL
in interface P6SpyOptionsMBean
public void setJNDIContextProviderURL(String jndicontextproviderurl)
setJNDIContextProviderURL
in interface P6SpyOptionsMBean
public String getJNDIContextProviderURL()
getJNDIContextProviderURL
in interface P6SpyOptionsMBean
public void setJNDIContextCustom(String jndicontextcustom)
setJNDIContextCustom
in interface P6SpyOptionsMBean
public void unSetJNDIContextCustom()
unSetJNDIContextCustom
in interface P6SpyOptionsMBean
public String getJNDIContextCustom()
getJNDIContextCustom
in interface P6SpyOptionsMBean
public void setRealDataSource(String realdatasource)
setRealDataSource
in interface P6SpyOptionsMBean
public void unSetRealDataSource()
unSetRealDataSource
in interface P6SpyOptionsMBean
public String getRealDataSource()
getRealDataSource
in interface P6SpyOptionsMBean
public void setRealDataSourceClass(String realdatasourceclass)
setRealDataSourceClass
in interface P6SpyOptionsMBean
public void unSetRealDataSourceClass()
unSetRealDataSourceClass
in interface P6SpyOptionsMBean
public String getRealDataSourceClass()
getRealDataSourceClass
in interface P6SpyOptionsMBean
public void setRealDataSourceProperties(String realdatasourceproperties)
setRealDataSourceProperties
in interface P6SpyOptionsMBean
public void unSetRealDataSourceProperties()
unSetRealDataSourceProperties
in interface P6SpyOptionsMBean
public String getRealDataSourceProperties()
getRealDataSourceProperties
in interface P6SpyOptionsMBean
public Set<String> getDriverNames()
getDriverNames
in interface P6SpyOptionsMBean
public String getDatabaseDialectDateFormat()
getDatabaseDialectDateFormat
in interface P6SpyOptionsMBean
public void setDatabaseDialectDateFormat(String databaseDialectDateFormat)
setDatabaseDialectDateFormat
in interface P6SpyOptionsMBean
databaseDialectDateFormat
- The databaseDialectDateFormat to setpublic String getModulelist()
getModulelist
in interface P6SpyOptionsMBean
public void setModulelist(String modulelist)
setModulelist
in interface P6SpyOptionsMBean
public Set<String> getModuleNames()
getModuleNames
in interface P6SpyOptionsMBean
public void setAppend(boolean append)
setAppend
in interface P6SpyOptionsMBean
public boolean getAppend()
getAppend
in interface P6SpyOptionsMBean
public String getAppender()
getAppender
in interface P6SpyOptionsMBean
public P6Logger getAppenderInstance()
getAppenderInstance
in interface P6SpyLoadableOptions
public void setAppender(String className)
setAppender
in interface P6SpyOptionsMBean
public void setDateformat(String dateformat)
setDateformat
in interface P6SpyOptionsMBean
public String getDateformat()
getDateformat
in interface P6SpyOptionsMBean
public boolean getStackTrace()
getStackTrace
in interface P6SpyOptionsMBean
public void setStackTrace(boolean stacktrace)
setStackTrace
in interface P6SpyOptionsMBean
public void setStackTrace(String stacktrace)
setStackTrace
in interface P6SpyLoadableOptions
public String getStackTraceClass()
getStackTraceClass
in interface P6SpyOptionsMBean
public void setStackTraceClass(String stacktraceclass)
setStackTraceClass
in interface P6SpyOptionsMBean
public void setLogfile(String logfile)
setLogfile
in interface P6SpyOptionsMBean
public String getLogfile()
getLogfile
in interface P6SpyOptionsMBean
public void setAppend(String append)
setAppend
in interface P6SpyLoadableOptions
public String getLogMessageFormat()
getLogMessageFormat
in interface P6SpyOptionsMBean
public void setLogMessageFormat(String logMessageFormat)
setLogMessageFormat
in interface P6SpyOptionsMBean
public MessageFormattingStrategy getLogMessageFormatInstance()
getLogMessageFormatInstance
in interface P6SpyLoadableOptions
public Map<String,String> getDefaults()
getDefaults
in interface P6LoadableOptions
public boolean getJmx()
getJmx
in interface P6SpyOptionsMBean
public void setJmx(String string)
setJmx
in interface P6SpyLoadableOptions
public void setJmx(boolean string)
setJmx
in interface P6SpyOptionsMBean
public String getJmxPrefix()
getJmxPrefix
in interface P6SpyOptionsMBean
public void setJmxPrefix(String jmxPrefix)
setJmxPrefix
in interface P6SpyOptionsMBean
Copyright © 2002-2016 P6Spy. All Rights Reserved.