public class BindingImpl extends AbstractConfiguredObject<BindingImpl> implements Binding<BindingImpl>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
SECURED_STRING_VALUE
ARGUMENTS, EXCHANGE, QUEUE, STATE
CONTEXT, CREATED_BY, CREATED_TIME, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, TYPE
Constructor and Description |
---|
BindingImpl(Map<String,Object> attributes,
AMQQueue queue,
ExchangeImpl exchange) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AMQQueue |
getAMQQueue() |
Map<String,Object> |
getArguments() |
String |
getBindingKey() |
<C extends ConfiguredObject> |
getChildren(Class<C> clazz)
Return children of the ConfiguredObject of the given class
|
ExchangeImpl<?> |
getExchange() |
long |
getMatches() |
Queue<?> |
getQueue() |
protected SecurityManager |
getSecurityManager() |
int |
hashCode() |
void |
incrementMatches() |
protected void |
onOpen() |
void |
setArguments(Map<String,Object> arguments) |
String |
toString() |
void |
validateOnCreate() |
addChangeListener, addChildAsync, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, beforeClose, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onResolve, onValidate, open, openAsync, parentsMap, postResolve, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, validateChange
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addChangeListener, asObjectRecord, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsync
public BindingImpl(Map<String,Object> attributes, AMQQueue queue, ExchangeImpl exchange)
protected void onOpen()
onOpen
in class AbstractConfiguredObject<BindingImpl>
public String getBindingKey()
public AMQQueue getAMQQueue()
public Queue<?> getQueue()
getQueue
in interface Binding<BindingImpl>
public ExchangeImpl<?> getExchange()
getExchange
in interface Binding<BindingImpl>
public Map<String,Object> getArguments()
getArguments
in interface Binding<BindingImpl>
public void incrementMatches()
public long getMatches()
getMatches
in interface Binding<BindingImpl>
public <C extends ConfiguredObject> Collection<C> getChildren(Class<C> clazz)
ConfiguredObject
getChildren
in interface ConfiguredObject<BindingImpl>
getChildren
in class AbstractConfiguredObject<BindingImpl>
clazz
- the class of the children to returnpublic String toString()
toString
in class AbstractConfiguredObject<BindingImpl>
public void validateOnCreate()
validateOnCreate
in class AbstractConfiguredObject<BindingImpl>
protected SecurityManager getSecurityManager()
getSecurityManager
in class AbstractConfiguredObject<BindingImpl>
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.