T
- the type of factory objects that this catalog containspublic interface FactoryCatalog<T extends Factory> extends Provider<T>
Modifier and Type | Method and Description |
---|---|
T |
get(java.lang.String identifier)
Gets the Factory with this identifier
|
java.lang.Object |
getFeature(java.lang.String key)
Gets the value of a feature for this catalog
|
java.util.Collection<T> |
list(FactoryFilter<T> filter)
Lists the Factories available to this catalog that the
supplied FactoryFilter accepts
|
void |
setFeature(java.lang.String key,
java.lang.Object value)
Sets the value of a feature for this catalog
|
java.lang.Object getFeature(java.lang.String key)
key
- the feature to get the value forvoid setFeature(java.lang.String key, java.lang.Object value)
key
- the feature keyvalue
- the feature valueT get(java.lang.String identifier)
identifier
- the identifier for the requested Factoryjava.util.Collection<T> list(FactoryFilter<T> filter)
filter
- the FactoryFilter to use