Class DerbyVirtualHostNodeImpl

  • All Implemented Interfaces:
    org.apache.qpid.server.logging.EventLoggerProvider, org.apache.qpid.server.model.ConfiguredObject<DerbyVirtualHostNodeImpl>, org.apache.qpid.server.model.ContextProvider, org.apache.qpid.server.model.PermissionedObject, org.apache.qpid.server.model.TaskExecutorProvider, org.apache.qpid.server.model.VirtualHostNode<DerbyVirtualHostNodeImpl>, org.apache.qpid.server.store.FileBasedSettings, org.apache.qpid.server.store.jdbc.JDBCContainer, org.apache.qpid.server.store.preferences.PreferencesRoot, org.apache.qpid.server.store.preferences.PreferenceStoreProvider, org.apache.qpid.server.store.Settings, DerbyVirtualHostNode<DerbyVirtualHostNodeImpl>

    public class DerbyVirtualHostNodeImpl
    extends org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode<DerbyVirtualHostNodeImpl>
    implements DerbyVirtualHostNode<DerbyVirtualHostNodeImpl>, org.apache.qpid.server.store.jdbc.JDBCContainer
    • 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 
      Modifier and Type Field Description
      static java.lang.String VIRTUAL_HOST_NODE_TYPE  
      • 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.model.VirtualHostNode

        DEFAULT_INITIAL_CONFIG_VIRTUALHOST_CONFIG_VAR, DEFAULT_INITIAL_CONFIGURATION, DEFAULT_VIRTUAL_HOST_NODE, QPID_INITIAL_CONFIG_VIRTUALHOST_CONFIG_VAR, VIRTUALHOST_BLUEPRINT_CONTEXT_VAR, VIRTUALHOST_INITIAL_CONFIGURATION
    • Constructor Summary

      Constructors 
      Constructor Description
      DerbyVirtualHostNodeImpl​(java.util.Map<java.lang.String,​java.lang.Object> attributes, org.apache.qpid.server.model.Broker<?> parent)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addDeleteAction​(org.apache.qpid.server.util.Action<java.sql.Connection> action)  
      protected org.apache.qpid.server.store.DurableConfigurationStore createConfigurationStore()  
      java.sql.Connection getConnection()  
      org.apache.qpid.server.store.jdbc.JDBCDetails getJDBCDetails()  
      org.apache.qpid.server.store.preferences.PreferenceStore getPreferenceStore()  
      java.lang.String getStorePath()  
      static java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getSupportedChildTypes()  
      java.lang.String getTableNamePrefix()  
      void removeDeleteAction​(org.apache.qpid.server.util.Action<java.sql.Connection> action)  
      java.lang.String toString()  
      void validateOnCreate()  
      protected void writeLocationEventLog()  
      • Methods inherited from class org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode

        activate, enrichInitialVirtualHostRootRecord, getRemoteReplicationNodes, getVirtualHost, onDelete
      • Methods inherited from class org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode

        closeVirtualHostIfExists, createPreferenceStore, doActivate, doStop, getBroker, getChildExecutor, getConfigurationStore, getConfigurationStoreLogSubject, getEventLogger, getInitialConfigReader, getInitialRecords, getLifetimePolicy, getPreferenceStoreAttributes, getSupportedVirtualHostTypes, getVirtualHostInitialConfiguration, isDefaultVirtualHostNode, onClose, onCloseOrDelete, onCreate, onExceptionInOpen, onOpen, postResolve, startQuiesced, stopAndSetStateTo, validateChange
      • 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, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, 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, onResolve, onValidate, open, openAsync, postResolveChildren, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setState, setUserPreferences, start, startAsync, stop, 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.logging.EventLoggerProvider

        getEventLogger
      • Methods inherited from interface org.apache.qpid.server.store.preferences.PreferencesRoot

        createPreferenceStore
      • Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider

        getTaskExecutor
      • Methods inherited from interface org.apache.qpid.server.model.VirtualHostNode

        getConfigurationStore, getRemoteReplicationNodes, getVirtualHost, getVirtualHostInitialConfiguration, isDefaultVirtualHostNode, start, stop
    • Field Detail

      • VIRTUAL_HOST_NODE_TYPE

        public static final java.lang.String VIRTUAL_HOST_NODE_TYPE
        See Also:
        Constant Field Values
    • Constructor Detail

      • DerbyVirtualHostNodeImpl

        public DerbyVirtualHostNodeImpl​(java.util.Map<java.lang.String,​java.lang.Object> attributes,
                                        org.apache.qpid.server.model.Broker<?> parent)
    • Method Detail

      • writeLocationEventLog

        protected void writeLocationEventLog()
        Specified by:
        writeLocationEventLog in class org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode<DerbyVirtualHostNodeImpl>
      • createConfigurationStore

        protected org.apache.qpid.server.store.DurableConfigurationStore createConfigurationStore()
        Specified by:
        createConfigurationStore in class org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode<DerbyVirtualHostNodeImpl>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode<DerbyVirtualHostNodeImpl>
      • getSupportedChildTypes

        public static java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getSupportedChildTypes()
      • validateOnCreate

        public void validateOnCreate()
        Overrides:
        validateOnCreate in class org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode<DerbyVirtualHostNodeImpl>
      • getPreferenceStore

        public org.apache.qpid.server.store.preferences.PreferenceStore getPreferenceStore()
        Specified by:
        getPreferenceStore in interface org.apache.qpid.server.store.preferences.PreferenceStoreProvider
      • getJDBCDetails

        public org.apache.qpid.server.store.jdbc.JDBCDetails getJDBCDetails()
        Specified by:
        getJDBCDetails in interface org.apache.qpid.server.store.jdbc.JDBCContainer
      • getConnection

        public java.sql.Connection getConnection()
        Specified by:
        getConnection in interface org.apache.qpid.server.store.jdbc.JDBCContainer
      • getTableNamePrefix

        public java.lang.String getTableNamePrefix()
        Specified by:
        getTableNamePrefix in interface org.apache.qpid.server.store.jdbc.JDBCContainer
      • addDeleteAction

        public void addDeleteAction​(org.apache.qpid.server.util.Action<java.sql.Connection> action)
        Specified by:
        addDeleteAction in interface org.apache.qpid.server.store.jdbc.JDBCContainer
      • removeDeleteAction

        public void removeDeleteAction​(org.apache.qpid.server.util.Action<java.sql.Connection> action)
        Specified by:
        removeDeleteAction in interface org.apache.qpid.server.store.jdbc.JDBCContainer