Package org.chenile.core.model
Class ChenileServiceDefinition
java.lang.Object
org.chenile.core.model.ChenileServiceDefinition
Defines a chenile service. A chenile service is more than its implementation. It is
a construct that exposes an interface and an implementation. A service comes equipped
with policies that are enforced by specific last mile interceptors. Please see the details in
Chenile Service Definition.
-
Field Summary
Modifier and TypeFieldDescriptionprotected Command<ChenileExchange>
protected String
private List<Command<ChenileExchange>>
private final Map<Class<? extends Annotation>,
Annotation> private HealthChecker
private String
private String
private List<Command<ChenileExchange>>
private Class<?>
private String
private Object
private String
private String
private List<OperationDefinition>
private Object
private Map<String,
TrajectoryOverride> private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExtension
(String key) Deprecated.<T extends Annotation>
TgetExtensionAsAnnotation
(Class<T> klass) Deprecated.getId()
Class<?>
getName()
void
putExtension
(String key, Object value) void
putExtensionAsAnnotation
(Class<? extends Annotation> klass, Annotation annotation) void
setBodyTypeSelector
(Command<ChenileExchange> bodyTypeSelector) void
setBodyTypeSelectorComponentName
(String bodyTypeSelectorComponentName) void
setClientInterceptorCommands
(List<Command<ChenileExchange>> clientInterceptorCommands) void
setClientInterceptorComponentNames
(List<String> clientInterceptorComponentNames) void
setHealthChecker
(HealthChecker healthChecker) void
setHealthCheckerName
(String healthCheckerName) void
void
setInterceptorCommands
(List<Command<ChenileExchange>> interceptorCommands) void
setInterceptorComponentNames
(List<String> interceptorComponentNames) void
setInterfaceClass
(Class<?> clazz) void
setMockName
(String name) void
void
setModuleName
(String moduleName) void
void
setOperations
(List<OperationDefinition> operations) void
setServiceReference
(Object serviceReference) void
setTrajectoryOverrides
(Map<String, TrajectoryOverride> trajectoryOverrides) void
setVersion
(String version) toString()
-
Field Details
-
serviceReference
-
name
-
mockName
-
mockServiceReference
-
healthCheckerName
-
healthChecker
-
id
-
moduleName
-
version
-
operations
-
interceptorComponentNames
-
interceptorCommands
-
clientInterceptorComponentNames
-
clientInterceptorCommands
-
bodyTypeSelector
-
bodyTypeSelectorComponentName
-
extensions
-
extensionsAsAnnotation
-
trajectoryOverrides
-
interfaceClass
-
-
Constructor Details
-
ChenileServiceDefinition
public ChenileServiceDefinition()
-
-
Method Details
-
getInterfaceClass
-
setInterfaceClass
-
getBodyTypeSelectorComponentName
-
getMockServiceReference
-
setBodyTypeSelectorComponentName
-
setBodyTypeSelector
-
getName
-
setName
-
getId
-
setId
-
getOperations
-
setOperations
-
getInterceptorCommands
-
getInterceptorComponentNames
-
setInterceptorComponentNames
-
setInterceptorCommands
-
toString
-
getServiceReference
-
setServiceReference
-
getBodyTypeSelector
-
getModuleName
-
setModuleName
-
getClientInterceptorComponentNames
-
setClientInterceptorComponentNames
-
getClientInterceptorCommands
-
setClientInterceptorCommands
-
getMockName
-
setMockName
-
setMockServiceReference
-
getVersion
-
setVersion
-
getHealthChecker
-
setHealthChecker
-
getHealthCheckerName
-
setHealthCheckerName
-
putExtension
-
getExtension
Deprecated. -
getExtensions
Deprecated. -
putExtensionAsAnnotation
-
getExtensionAsAnnotation
-
getTrajectoryOverrides
-
setTrajectoryOverrides
-