Package org.apache.camel.cloud
Interface ServiceRegistry
- All Superinterfaces:
AutoCloseable
,CamelContextAware
,HasCamelContext
,HasId
,IdAware
,Ordered
,Service
@Deprecated(since="4.8.0")
public interface ServiceRegistry
extends Service, CamelContextAware, IdAware, Ordered
Deprecated.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Deprecated.A selector used to pick up a service among a list. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deregister
(ServiceDefinition definition) Deprecated.Remove the service definition.Deprecated.Attributes associated to the service.default int
getOrder()
Deprecated.Gets the order.void
register
(ServiceDefinition definition) Deprecated.Register the service definition.Methods inherited from interface org.apache.camel.CamelContextAware
setCamelContext
Methods inherited from interface org.apache.camel.spi.HasCamelContext
getCamelContext
Methods inherited from interface org.apache.camel.spi.IdAware
setGeneratedId, setId
-
Method Details
-
getOrder
default int getOrder()Deprecated.Description copied from interface:Ordered
Gets the order. Use low numbers for higher priority. Normally the sorting will start from 0 and move upwards. So if you want to be last then useInteger.MAX_VALUE
or egOrdered.LOWEST
. -
getAttributes
Deprecated.Attributes associated to the service. -
register
Deprecated.Register the service definition.- Parameters:
definition
- the service definition
-
deregister
Deprecated.Remove the service definition.- Parameters:
definition
- the service definition
-