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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.A selector used to pick up a service among a list. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoidderegister(ServiceDefinition definition) Deprecated.Remove the service definition.Deprecated.Attributes associated to the service.default intgetOrder()Deprecated.Gets the order.voidregister(ServiceDefinition definition) Deprecated.Register the service definition.Methods inherited from interface org.apache.camel.CamelContextAware
setCamelContextMethods inherited from interface org.apache.camel.spi.HasCamelContext
getCamelContextMethods inherited from interface org.apache.camel.spi.IdAware
setGeneratedId, setId
-
Method Details
-
getOrder
default int getOrder()Deprecated.Description copied from interface:OrderedGets 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_VALUEor 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
-