public interface IBusConfiguration
Feature.
Features can be added to a bus configuration to be used later in the instantiation process of the message bus.
Each bus will look for the features it requires and configure them according to the provided configuration. If a required feature is not found the bus will publish a ConfigurationError
to the ConfigurationErrorHandler| Modifier and Type | Method and Description |
|---|---|
IBusConfiguration |
addErrorHandler(ConfigurationErrorHandler handler) |
IBusConfiguration |
addFeature(Feature feature) |
<T extends Feature> |
getFeature(Class<T> feature)
Get a registered feature by its type (class).
|
<T extends Feature> T getFeature(Class<T> feature)
T - feature - IBusConfiguration addFeature(Feature feature)
IBusConfiguration addErrorHandler(ConfigurationErrorHandler handler)
Copyright © 2014. All rights reserved.