Class DerbyVirtualHostNodeImpl
- java.lang.Object
-
- org.apache.qpid.server.model.AbstractConfiguredObject<X>
-
- org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode<X>
-
- org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode<DerbyVirtualHostNodeImpl>
-
- org.apache.qpid.server.virtualhostnode.derby.DerbyVirtualHostNodeImpl
-
- All Implemented Interfaces:
org.apache.qpid.server.logging.EventLoggerProvider,ConfiguredObject<DerbyVirtualHostNodeImpl>,ContextProvider,PermissionedObject,TaskExecutorProvider,VirtualHostNode<DerbyVirtualHostNodeImpl>,org.apache.qpid.server.store.FileBasedSettings,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>, JDBCContainer
-
-
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 Modifier and Type Field Description static StringVIRTUAL_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.virtualhostnode.derby.DerbyVirtualHostNode
STORE_PATH
-
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(Map<String,Object> attributes, Broker<?> parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeleteAction(org.apache.qpid.server.util.Action<Connection> action)protected org.apache.qpid.server.store.DurableConfigurationStorecreateConfigurationStore()ConnectiongetConnection()JDBCDetailsgetJDBCDetails()org.apache.qpid.server.store.preferences.PreferenceStoregetPreferenceStore()StringgetStorePath()static Map<String,Collection<String>>getSupportedChildTypes()StringgetTableNamePrefix()voidremoveDeleteAction(org.apache.qpid.server.util.Action<Connection> action)StringtoString()voidvalidateOnCreate()protected voidwriteLocationEventLog()-
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.virtualhostnode.derby.DerbyVirtualHostNode
getPreferenceStoreAttributes
-
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 String VIRTUAL_HOST_NODE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeLocationEventLog
protected void writeLocationEventLog()
- Specified by:
writeLocationEventLogin classorg.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode<DerbyVirtualHostNodeImpl>
-
createConfigurationStore
protected org.apache.qpid.server.store.DurableConfigurationStore createConfigurationStore()
- Specified by:
createConfigurationStorein classorg.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode<DerbyVirtualHostNodeImpl>
-
getStorePath
public String getStorePath()
- Specified by:
getStorePathin interfaceDerbyVirtualHostNode<DerbyVirtualHostNodeImpl>- Specified by:
getStorePathin interfaceorg.apache.qpid.server.store.FileBasedSettings
-
toString
public String toString()
- Overrides:
toStringin classorg.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode<DerbyVirtualHostNodeImpl>
-
getSupportedChildTypes
public static Map<String,Collection<String>> getSupportedChildTypes()
-
validateOnCreate
public void validateOnCreate()
- Overrides:
validateOnCreatein classorg.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode<DerbyVirtualHostNodeImpl>
-
getPreferenceStore
public org.apache.qpid.server.store.preferences.PreferenceStore getPreferenceStore()
- Specified by:
getPreferenceStorein interfaceorg.apache.qpid.server.store.preferences.PreferenceStoreProvider
-
getJDBCDetails
public JDBCDetails getJDBCDetails()
- Specified by:
getJDBCDetailsin interfaceJDBCContainer
-
getConnection
public Connection getConnection()
- Specified by:
getConnectionin interfaceJDBCContainer
-
getTableNamePrefix
public String getTableNamePrefix()
- Specified by:
getTableNamePrefixin interfaceJDBCContainer
-
addDeleteAction
public void addDeleteAction(org.apache.qpid.server.util.Action<Connection> action)
- Specified by:
addDeleteActionin interfaceJDBCContainer
-
removeDeleteAction
public void removeDeleteAction(org.apache.qpid.server.util.Action<Connection> action)
- Specified by:
removeDeleteActionin interfaceJDBCContainer
-
-