public class Declarables extends Object
Declarable
objects; used to declare multiple objects on the
broker using a single bean declaration for the collection.Constructor and Description |
---|
Declarables(Collection<Declarable> declarables) |
Declarables(Declarable... declarables) |
Modifier and Type | Method and Description |
---|---|
Collection<Declarable> |
getDeclarables() |
<T> List<T> |
getDeclarablesByType(Class<T> type)
Return the elements that are instances of the provided class.
|
String |
toString() |
public Declarables(Declarable... declarables)
public Declarables(Collection<Declarable> declarables)
public Collection<Declarable> getDeclarables()
public <T> List<T> getDeclarablesByType(Class<T> type)
T
- The type.type
- the type's class.