Class JDBCVirtualHostLoggerImpl
- java.lang.Object
-
- org.apache.qpid.server.model.AbstractConfiguredObject<X>
-
- org.apache.qpid.server.logging.logback.AbstractLogger<X>
-
- org.apache.qpid.server.logging.logback.AbstractVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
- org.apache.qpid.server.logging.logback.jdbc.JDBCVirtualHostLoggerImpl
-
- All Implemented Interfaces:
JDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>,ConfiguredObject<JDBCVirtualHostLoggerImpl>,ContextProvider,PermissionedObject,TaskExecutorProvider,VirtualHostLogger<JDBCVirtualHostLoggerImpl>,JDBCSettings,org.apache.qpid.server.store.Settings
public class JDBCVirtualHostLoggerImpl extends AbstractVirtualHostLogger<JDBCVirtualHostLoggerImpl> implements JDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
AbstractConfiguredObject.CallableWithArgument<V extends Object,A extends Object>, AbstractConfiguredObject.ChainedListenableFuture<V extends Object>, AbstractConfiguredObject.ChainedSettableFuture<V extends Object>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
-
-
Field Summary
-
Fields inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
SECURED_STRING_VALUE
-
Fields inherited from interface org.apache.qpid.server.model.ConfiguredObject
AWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
-
Fields inherited from interface org.apache.qpid.server.store.jdbc.JDBCSettings
CONNECTION_POOL_TYPE, CONNECTION_URL, PASSWORD, TABLE_NAME_PREFIX, USERNAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJDBCVirtualHostLoggerImpl(Map<String,Object> attributes, VirtualHost<?> virtualHost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>createAppenderInstance(ch.qos.logback.core.Context context)StringgetConnectionPoolType()StringgetConnectionUrl()org.apache.qpid.server.security.FileKeyStore<?>getKeyStore()StringgetKeyStorePasswordPropertyName()StringgetKeyStorePathPropertyName()StringgetPassword()StringgetTableNamePrefix()org.apache.qpid.server.security.FileTrustStore<?>getTrustStore()StringgetTrustStorePasswordPropertyName()StringgetTrustStorePathPropertyName()StringgetUsername()protected voidvalidateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)protected voidvalidateOnCreate()-
Methods inherited from class org.apache.qpid.server.logging.logback.AbstractVirtualHostLogger
getLogInclusionRules, onResolve
-
Methods inherited from class org.apache.qpid.server.logging.logback.AbstractLogger
addLogInclusionRule, getAppender, getErrorCount, getSupportedBrokerLoggerChildTypes, getSupportedVirtualHostLoggerChildTypes, getWarnCount, onDelete, postResolveChildren, removeLogInclusionRule, resetStatistics, stopLogging
-
Methods inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
addChangeListener, addChildAsync, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributesAsString, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, beforeClose, beforeDelete, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleteChildren, deleteNoChecks, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getAccessControl, getActualAttributes, getAncestor, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, logCreated, logDeleted, logOperation, logRecovered, logUpdated, managesChildStorage, newToken, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onOpen, onValidate, open, openAsync, postResolve, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setState, setUserPreferences, start, startAsync, stop, toString, updateModel, validateChildDelete
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.qpid.server.model.ConfiguredObject
addChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferences
-
Methods inherited from interface org.apache.qpid.server.model.ContextProvider
getContextKeys, getContextValue, getContextValue
-
Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider
getTaskExecutor
-
Methods inherited from interface org.apache.qpid.server.model.VirtualHostLogger
getErrorCount, getWarnCount, resetStatistics, stopLogging
-
-
-
-
Constructor Detail
-
JDBCVirtualHostLoggerImpl
protected JDBCVirtualHostLoggerImpl(Map<String,Object> attributes, VirtualHost<?> virtualHost)
-
-
Method Detail
-
getConnectionUrl
public String getConnectionUrl()
- Specified by:
getConnectionUrlin interfaceJDBCSettings- Specified by:
getConnectionUrlin interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getConnectionPoolType
public String getConnectionPoolType()
- Specified by:
getConnectionPoolTypein interfaceJDBCSettings- Specified by:
getConnectionPoolTypein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceJDBCSettings- Specified by:
getUsernamein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getPassword
public String getPassword()
- Specified by:
getPasswordin interfaceJDBCSettings- Specified by:
getPasswordin interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getTableNamePrefix
public String getTableNamePrefix()
- Specified by:
getTableNamePrefixin interfaceJDBCSettings- Specified by:
getTableNamePrefixin interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getKeyStore
public org.apache.qpid.server.security.FileKeyStore<?> getKeyStore()
- Specified by:
getKeyStorein interfaceJDBCSettings- Specified by:
getKeyStorein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getKeyStorePathPropertyName
public String getKeyStorePathPropertyName()
- Specified by:
getKeyStorePathPropertyNamein interfaceJDBCSettings- Specified by:
getKeyStorePathPropertyNamein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getKeyStorePasswordPropertyName
public String getKeyStorePasswordPropertyName()
- Specified by:
getKeyStorePasswordPropertyNamein interfaceJDBCSettings- Specified by:
getKeyStorePasswordPropertyNamein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getTrustStore
public org.apache.qpid.server.security.FileTrustStore<?> getTrustStore()
- Specified by:
getTrustStorein interfaceJDBCSettings- Specified by:
getTrustStorein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getTrustStorePathPropertyName
public String getTrustStorePathPropertyName()
- Specified by:
getTrustStorePathPropertyNamein interfaceJDBCSettings- Specified by:
getTrustStorePathPropertyNamein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getTrustStorePasswordPropertyName
public String getTrustStorePasswordPropertyName()
- Specified by:
getTrustStorePasswordPropertyNamein interfaceJDBCSettings- Specified by:
getTrustStorePasswordPropertyNamein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
validateChange
protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
- Overrides:
validateChangein classAbstractConfiguredObject<JDBCVirtualHostLoggerImpl>
-
validateOnCreate
protected void validateOnCreate()
- Overrides:
validateOnCreatein classAbstractConfiguredObject<JDBCVirtualHostLoggerImpl>
-
createAppenderInstance
protected ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> createAppenderInstance(ch.qos.logback.core.Context context)
- Specified by:
createAppenderInstancein classAbstractLogger<JDBCVirtualHostLoggerImpl>
-
-