Annotation Interface ChenileController
Declares a Chenile controller. A controller is a Chenile service declaration;
it is not necessarily an HTTP endpoint. When the same bean is also annotated
with Spring's
@RestController, chenile-http supplies the HTTP binding.
The package name is retained for source compatibility. The annotation is supplied by the chenile-core artifact so event-only and serverless applications do not need a chenile-http dependency.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?> booleanWhether this service definition is published to the remote Chenile Service Registry.Spring bean name of aServiceSelectorused to select the implementation per request.
-
Element Details
-
value
String value -
serviceName
String serviceName- Default:
""
-
serviceSelector
String serviceSelectorSpring bean name of aServiceSelectorused to select the implementation per request.- Default:
""
-
serviceModule
String serviceModule- Default:
""
-
bluePrintName
String bluePrintName- Default:
""
-
additionalAttributes
ChenileAdditionalAttribute[] additionalAttributes- Default:
{}
-
healthCheckerName
String healthCheckerName- Default:
""
-
mockName
String mockName- Default:
""
-
interfaceClass
Class<?> interfaceClass- Default:
java.lang.Object.class
-
registerInServiceRegistry
boolean registerInServiceRegistryWhether this service definition is published to the remote Chenile Service Registry. It is always registered locally inChenileConfiguration.- Default:
true
-
CHENILE