public interface ServiceRegistry extends Service, CamelContextAware, IdAware, Ordered
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServiceRegistry.Selector
A selector used to pick up a service among a list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deregister(ServiceDefinition definition)
Remove the service definition.
|
default Map<String,Object> |
getAttributes()
Attributes associated to the service.
|
default int |
getOrder()
Gets the order.
|
void |
register(ServiceDefinition definition)
Register the service definition.
|
getCamelContext, setCamelContextdefault int getOrder()
OrderedInteger.MAX_VALUE or eg Ordered.LOWEST.default Map<String,Object> getAttributes()
void register(ServiceDefinition definition)
definition - the service definitionvoid deregister(ServiceDefinition definition)
definition - the service definitionApache Camel