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>,org.apache.qpid.server.model.ConfiguredObject<JDBCVirtualHostLoggerImpl>,org.apache.qpid.server.model.ContextProvider,org.apache.qpid.server.model.PermissionedObject,org.apache.qpid.server.model.TaskExecutorProvider,org.apache.qpid.server.model.VirtualHostLogger<JDBCVirtualHostLoggerImpl>,org.apache.qpid.server.store.jdbc.JDBCSettings,org.apache.qpid.server.store.Settings
public class JDBCVirtualHostLoggerImpl extends org.apache.qpid.server.logging.logback.AbstractVirtualHostLogger<JDBCVirtualHostLoggerImpl> implements JDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
org.apache.qpid.server.model.AbstractConfiguredObject.CallableWithArgument<V extends java.lang.Object,A extends java.lang.Object>, org.apache.qpid.server.model.AbstractConfiguredObject.ChainedListenableFuture<V extends java.lang.Object>, org.apache.qpid.server.model.AbstractConfiguredObject.ChainedSettableFuture<V extends java.lang.Object>, org.apache.qpid.server.model.AbstractConfiguredObject.DuplicateIdException, org.apache.qpid.server.model.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJDBCVirtualHostLoggerImpl(java.util.Map<java.lang.String,java.lang.Object> attributes, org.apache.qpid.server.model.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)java.lang.StringgetConnectionPoolType()java.lang.StringgetConnectionUrl()java.lang.StringgetPassword()java.lang.StringgetTableNamePrefix()java.lang.StringgetUsername()protected voidvalidateChange(org.apache.qpid.server.model.ConfiguredObject<?> proxyForValidation, java.util.Set<java.lang.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
-
-
-
-
Method Detail
-
getConnectionUrl
public java.lang.String getConnectionUrl()
- Specified by:
getConnectionUrlin interfaceorg.apache.qpid.server.store.jdbc.JDBCSettings- Specified by:
getConnectionUrlin interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getConnectionPoolType
public java.lang.String getConnectionPoolType()
- Specified by:
getConnectionPoolTypein interfaceorg.apache.qpid.server.store.jdbc.JDBCSettings- Specified by:
getConnectionPoolTypein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getUsername
public java.lang.String getUsername()
- Specified by:
getUsernamein interfaceorg.apache.qpid.server.store.jdbc.JDBCSettings- Specified by:
getUsernamein interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getPassword
public java.lang.String getPassword()
- Specified by:
getPasswordin interfaceorg.apache.qpid.server.store.jdbc.JDBCSettings- Specified by:
getPasswordin interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
getTableNamePrefix
public java.lang.String getTableNamePrefix()
- Specified by:
getTableNamePrefixin interfaceorg.apache.qpid.server.store.jdbc.JDBCSettings- Specified by:
getTableNamePrefixin interfaceJDBCVirtualHostLogger<JDBCVirtualHostLoggerImpl>
-
validateChange
protected void validateChange(org.apache.qpid.server.model.ConfiguredObject<?> proxyForValidation, java.util.Set<java.lang.String> changedAttributes)- Overrides:
validateChangein classorg.apache.qpid.server.model.AbstractConfiguredObject<JDBCVirtualHostLoggerImpl>
-
validateOnCreate
protected void validateOnCreate()
- Overrides:
validateOnCreatein classorg.apache.qpid.server.model.AbstractConfiguredObject<JDBCVirtualHostLoggerImpl>
-
createAppenderInstance
protected ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> createAppenderInstance(ch.qos.logback.core.Context context)
- Specified by:
createAppenderInstancein classorg.apache.qpid.server.logging.logback.AbstractLogger<JDBCVirtualHostLoggerImpl>
-
-