|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.amqp.core.AbstractDeclarable
public abstract class AbstractDeclarable
Base class for Declarable classes.
| Constructor Summary | |
|---|---|
AbstractDeclarable()
|
|
| Method Summary | |
|---|---|
java.util.Collection<AmqpAdmin> |
getDeclaringAdmins()
The collection of AmqpAdmins that should declare this
object; if empty, all admins should declare. |
void |
setAdminsThatShouldDeclare(AmqpAdmin... admins)
The AmqpAdmins that should declare this object; default is
all admins. |
void |
setShouldDeclare(boolean shouldDeclare)
Whether or not this object should be automatically declared by any AmqpAdmin. |
boolean |
shouldDeclare()
Whether or not this object should be automatically declared by any AmqpAdmin. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDeclarable()
| Method Detail |
|---|
public boolean shouldDeclare()
DeclarableAmqpAdmin.
shouldDeclare in interface Declarablepublic void setShouldDeclare(boolean shouldDeclare)
AmqpAdmin. Default is true.
shouldDeclare - true or false.public java.util.Collection<AmqpAdmin> getDeclaringAdmins()
DeclarableAmqpAdmins that should declare this
object; if empty, all admins should declare.
getDeclaringAdmins in interface Declarablepublic void setAdminsThatShouldDeclare(AmqpAdmin... admins)
AmqpAdmins that should declare this object; default is
all admins.
setAdminsThatShouldDeclare((AmqpAdmin) null) or
setAdminsThatShouldDeclare((AmqpAdmin[]) null)). Clearing the collection resets
the behavior such that all admins will declare the object.
admins - The admins.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||