Class Declarables
java.lang.Object
org.springframework.amqp.core.Declarables
- Direct Known Subclasses:
SuperStream
A collection of
Declarable objects; used to declare multiple objects on the
broker using a single bean declaration for the collection.- Since:
- 2.1
- Author:
- Gary Russell, Björn Michael
-
Constructor Summary
ConstructorsConstructorDescriptionDeclarables(Collection<? extends Declarable> declarables) Declarables(Declarable... declarables) -
Method Summary
Modifier and TypeMethodDescription<T extends Declarable>
List<T> getDeclarablesByType(Class<? extends T> type) Return the elements that are instances of the provided class.toString()
-
Constructor Details
-
Declarables
-
Declarables
-
-
Method Details
-
getDeclarables
-
getDeclarablesByType
Return the elements that are instances of the provided class.- Type Parameters:
T- The type.- Parameters:
type- the type's class.- Returns:
- the filtered list.
- Since:
- 2.2
-
toString
-