Class RedirectingVirtualHostNodeImpl
- java.lang.Object
-
- org.apache.qpid.server.model.AbstractConfiguredObject<RedirectingVirtualHostNodeImpl>
-
- org.apache.qpid.server.virtualhostnode.RedirectingVirtualHostNodeImpl
-
- All Implemented Interfaces:
EventLoggerProvider
,ConfiguredObject<RedirectingVirtualHostNodeImpl>
,ContextProvider
,PermissionedObject
,TaskExecutorProvider
,VirtualHostNode<RedirectingVirtualHostNodeImpl>
,PreferencesRoot
,RedirectingVirtualHostNode<RedirectingVirtualHostNodeImpl>
public class RedirectingVirtualHostNodeImpl extends AbstractConfiguredObject<RedirectingVirtualHostNodeImpl> implements RedirectingVirtualHostNode<RedirectingVirtualHostNodeImpl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
-
-
Field Summary
Fields Modifier and Type Field Description static 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.virtualhostnode.RedirectingVirtualHostNode
REDIRECTS
-
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 RedirectingVirtualHostNodeImpl(Map<String,Object> attributes, Broker<?> parent)
-
Method Summary
-
Methods inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
addChangeListener, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributesAsString, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, 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, onDelete, onExceptionInOpen, onOpen, onResolve, onValidate, open, openAsync, postResolve, postResolveChildren, 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.VirtualHostNode
start, stop
-
-
-
-
Field Detail
-
VIRTUAL_HOST_NODE_TYPE
public static final String VIRTUAL_HOST_NODE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
beforeClose
protected com.google.common.util.concurrent.ListenableFuture<Void> beforeClose()
- Overrides:
beforeClose
in classAbstractConfiguredObject<RedirectingVirtualHostNodeImpl>
-
beforeDelete
protected com.google.common.util.concurrent.ListenableFuture<Void> beforeDelete()
- Overrides:
beforeDelete
in classAbstractConfiguredObject<RedirectingVirtualHostNodeImpl>
-
getVirtualHostInitialConfiguration
public String getVirtualHostInitialConfiguration()
- Specified by:
getVirtualHostInitialConfiguration
in interfaceVirtualHostNode<RedirectingVirtualHostNodeImpl>
-
isDefaultVirtualHostNode
public boolean isDefaultVirtualHostNode()
- Specified by:
isDefaultVirtualHostNode
in interfaceVirtualHostNode<RedirectingVirtualHostNodeImpl>
-
getVirtualHost
public VirtualHost<?> getVirtualHost()
- Specified by:
getVirtualHost
in interfaceVirtualHostNode<RedirectingVirtualHostNodeImpl>
-
getConfigurationStore
public DurableConfigurationStore getConfigurationStore()
- Specified by:
getConfigurationStore
in interfaceVirtualHostNode<RedirectingVirtualHostNodeImpl>
-
getRemoteReplicationNodes
public Collection<? extends RemoteReplicationNode> getRemoteReplicationNodes()
- Specified by:
getRemoteReplicationNodes
in interfaceVirtualHostNode<RedirectingVirtualHostNodeImpl>
-
createPreferenceStore
public PreferenceStore createPreferenceStore()
- Specified by:
createPreferenceStore
in interfacePreferencesRoot
-
getPreferenceStoreAttributes
public PreferenceStoreAttributes getPreferenceStoreAttributes()
- Specified by:
getPreferenceStoreAttributes
in interfaceVirtualHostNode<RedirectingVirtualHostNodeImpl>
-
getRedirects
public Map<Port<?>,String> getRedirects()
- Specified by:
getRedirects
in interfaceRedirectingVirtualHostNode<RedirectingVirtualHostNodeImpl>
-
validateOnCreate
protected void validateOnCreate()
- Overrides:
validateOnCreate
in classAbstractConfiguredObject<RedirectingVirtualHostNodeImpl>
-
validateChange
protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
- Overrides:
validateChange
in classAbstractConfiguredObject<RedirectingVirtualHostNodeImpl>
-
addChildAsync
protected <C extends ConfiguredObject> com.google.common.util.concurrent.ListenableFuture<C> addChildAsync(Class<C> childClass, Map<String,Object> attributes)
- Overrides:
addChildAsync
in classAbstractConfiguredObject<RedirectingVirtualHostNodeImpl>
-
getSupportedChildTypes
public static Map<String,Collection<String>> getSupportedChildTypes()
-
getEventLogger
public EventLogger getEventLogger()
- Specified by:
getEventLogger
in interfaceEventLoggerProvider
-
-