Class JDBCBrokerLoggerImpl
- java.lang.Object
-
- org.apache.qpid.server.model.AbstractConfiguredObject<X>
-
- org.apache.qpid.server.logging.logback.AbstractLogger<X>
-
- org.apache.qpid.server.logging.logback.AbstractBrokerLogger<JDBCBrokerLoggerImpl>
-
- org.apache.qpid.server.logging.logback.jdbc.JDBCBrokerLoggerImpl
-
- All Implemented Interfaces:
JDBCBrokerLogger<JDBCBrokerLoggerImpl>,BrokerLogger<JDBCBrokerLoggerImpl>,ConfiguredObject<JDBCBrokerLoggerImpl>,ContextProvider,PermissionedObject,TaskExecutorProvider,JDBCSettings,org.apache.qpid.server.store.Settings
public class JDBCBrokerLoggerImpl extends AbstractBrokerLogger<JDBCBrokerLoggerImpl> implements JDBCBrokerLogger<JDBCBrokerLoggerImpl>
-
-
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.logging.logback.jdbc.JDBCBrokerLogger
BROKER_FAIL_ON_JDBC_LOGGER_ERROR, DEFAULT_BROKER_FAIL_ON_JDBC_LOGGER_ERROR
-
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 protectedJDBCBrokerLoggerImpl(Map<String,Object> attributes, Broker<?> broker)
-
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 com.google.common.util.concurrent.ListenableFuture<Void>onClose()protected com.google.common.util.concurrent.ListenableFuture<Void>onDelete()protected voidvalidateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)protected voidvalidateOnCreate()-
Methods inherited from class org.apache.qpid.server.logging.logback.AbstractBrokerLogger
getLogInclusionRules, isVirtualHostLogEventExcluded, onResolve
-
Methods inherited from class org.apache.qpid.server.logging.logback.AbstractLogger
addLogInclusionRule, getAppender, getErrorCount, getSupportedBrokerLoggerChildTypes, getSupportedVirtualHostLoggerChildTypes, getWarnCount, 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, 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.BrokerLogger
getErrorCount, getWarnCount, isVirtualHostLogEventExcluded, resetStatistics, stopLogging
-
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
-
-
-
-
Method Detail
-
getConnectionUrl
public String getConnectionUrl()
- Specified by:
getConnectionUrlin interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getConnectionUrlin interfaceJDBCSettings
-
getConnectionPoolType
public String getConnectionPoolType()
- Specified by:
getConnectionPoolTypein interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getConnectionPoolTypein interfaceJDBCSettings
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getUsernamein interfaceJDBCSettings
-
getPassword
public String getPassword()
- Specified by:
getPasswordin interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getPasswordin interfaceJDBCSettings
-
getTableNamePrefix
public String getTableNamePrefix()
- Specified by:
getTableNamePrefixin interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getTableNamePrefixin interfaceJDBCSettings
-
getKeyStore
public org.apache.qpid.server.security.FileKeyStore<?> getKeyStore()
- Specified by:
getKeyStorein interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getKeyStorein interfaceJDBCSettings
-
getKeyStorePathPropertyName
public String getKeyStorePathPropertyName()
- Specified by:
getKeyStorePathPropertyNamein interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getKeyStorePathPropertyNamein interfaceJDBCSettings
-
getKeyStorePasswordPropertyName
public String getKeyStorePasswordPropertyName()
- Specified by:
getKeyStorePasswordPropertyNamein interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getKeyStorePasswordPropertyNamein interfaceJDBCSettings
-
getTrustStore
public org.apache.qpid.server.security.FileTrustStore<?> getTrustStore()
- Specified by:
getTrustStorein interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getTrustStorein interfaceJDBCSettings
-
getTrustStorePathPropertyName
public String getTrustStorePathPropertyName()
- Specified by:
getTrustStorePathPropertyNamein interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getTrustStorePathPropertyNamein interfaceJDBCSettings
-
getTrustStorePasswordPropertyName
public String getTrustStorePasswordPropertyName()
- Specified by:
getTrustStorePasswordPropertyNamein interfaceJDBCBrokerLogger<JDBCBrokerLoggerImpl>- Specified by:
getTrustStorePasswordPropertyNamein interfaceJDBCSettings
-
onClose
protected com.google.common.util.concurrent.ListenableFuture<Void> onClose()
- Overrides:
onClosein classAbstractConfiguredObject<JDBCBrokerLoggerImpl>
-
onDelete
protected com.google.common.util.concurrent.ListenableFuture<Void> onDelete()
- Overrides:
onDeletein classAbstractLogger<JDBCBrokerLoggerImpl>
-
validateChange
protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
- Overrides:
validateChangein classAbstractConfiguredObject<JDBCBrokerLoggerImpl>
-
validateOnCreate
protected void validateOnCreate()
- Overrides:
validateOnCreatein classAbstractConfiguredObject<JDBCBrokerLoggerImpl>
-
createAppenderInstance
protected ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> createAppenderInstance(ch.qos.logback.core.Context context)
- Specified by:
createAppenderInstancein classAbstractLogger<JDBCBrokerLoggerImpl>
-
-