Uses of Interface
org.chenile.owiz.Command
Package
Description
The Cache interceptor is here.
Cloud edge switch - the interceptor class is defined here
Chenile core beans are initialized in Spring.
Registers key chenile proxy beans in spring
The core Chenile exchange objects are defined here.
Core Chenile initialization and discovery of all Chenile services.
Define Core Chenile interceptors
The chief model classes that contain Service and Operation information.
The Chenile transformation framework that transforms JSON to Object.
Contains core definitions for Orchestration Wizard
Contains key classes and packages for capturing config information.
Implementation of the classes that capture the configuration model from various sources
such as XML etc.
Orchestration Config model classes.
Key Command implementations, chain implementations and base classes are defined here.
Orchestration Wizard routing that leverages OGNL as a scripting library.
Splitter Aggregate pattern implemented here.
Chenile proxy interceptors.
Chenile proxy interpolations
Contains key interceptors that can be used in conjunction with the Chenile Query service.
This class contains the
SecurityInterceptor
Multi tenancy support.
Workflow entry, exit commands etc.
-
Uses of Command in org.chenile.cache.interceptor
Modifier and TypeClassDescriptionclass
Caches an operation return value using the service name, operation name and the parameters that were passed to the operation. -
Uses of Command in org.chenile.cloudedgeswitch.interceptor
Modifier and TypeClassDescriptionclass
This interceptor, if configured, acts like an edge switch for a service i.e. -
Uses of Command in org.chenile.configuration.core
Modifier and TypeMethodDescriptionChenileCoreConfiguration.exceptionHandlerInterpolation()
ChenileCoreConfiguration.operationSpecificProcessorsInterpolation()
ChenileCoreConfiguration.postProcessorsInterpolation()
ChenileCoreConfiguration.preProcessorsInterpolation()
ChenileCoreConfiguration.serviceSpecificProcessorsInterpolation()
-
Uses of Command in org.chenile.configuration.proxy
Modifier and TypeMethodDescriptionProxyConfiguration.operationSpecificClientProcessorsInterpolation()
ProxyConfiguration.serviceSpecificClientProcessorsInterpolation()
-
Uses of Command in org.chenile.core.context
-
Uses of Command in org.chenile.core.init
Modifier and TypeFieldDescriptionprivate final List<Command<ChenileExchange>>
AbstractServiceInitializer.InterceptorChain.commandList
Modifier and TypeMethodDescriptionstatic Command<ChenileExchange>
AbstractServiceInitializer.constructBodyTypeInterceptorsChain
(String[] bodyTypeInterceptors, ApplicationContext applicationContext) Modifier and TypeMethodDescriptionprivate List<Command<ChenileExchange>>
AbstractServiceInitializer.initInterceptors
(List<String> interceptorCommandNames) -
Uses of Command in org.chenile.core.interceptors
Modifier and TypeClassDescriptionclass
A generic interceptor for other Chenile Interceptors to override.class
Handles all exceptions by: Translating all errors and warnings to international language.class
Find the correct service to invoke.class
Constructs a generic response from the response and exception that has been thrown.class
Logs the output from the response object.class
This command invokes a service gathering inputs fromChenileExchange
.class
As per HTTP convention, all custom headers start with "x-" This interceptor copies all headers that start with "x-" into the context. -
Uses of Command in org.chenile.core.interceptors.interpolations
Modifier and TypeClassDescriptionclass
Calls the exception handler that is defined in Chenile properties.class
Calls a bunch of interceptors defined at the level of the particular operation.class
Calls a bunch of interceptors called as "post processors".class
Calls a bunch of interceptors called as "pre processors".class
Calls a bunch of interceptors defined at the level of the particular service.Modifier and TypeMethodDescriptionprotected List<Command<ChenileExchange>>
ExceptionHandlerInterpolation.fetchCommands
(ChenileExchange context) protected List<Command<ChenileExchange>>
OperationSpecificProcessorsInterpolation.fetchCommands
(ChenileExchange exchange) protected List<Command<ChenileExchange>>
PostProcessorsInterpolation.fetchCommands
(ChenileExchange context) protected List<Command<ChenileExchange>>
PreProcessorsInterpolation.fetchCommands
(ChenileExchange context) protected List<Command<ChenileExchange>>
ServiceSpecificProcessorsInterpolation.fetchCommands
(ChenileExchange exchange) -
Uses of Command in org.chenile.core.model
Modifier and TypeFieldDescriptionprotected Command<ChenileExchange>
ChenileServiceDefinition.bodyTypeSelector
protected Command<ChenileExchange>
OperationDefinition.bodyTypeSelector
Sometimes it is possible that the output is not specifiable since it can vary depending on the value of some headers.Modifier and TypeFieldDescriptionprivate List<Command<ChenileExchange>>
ChenileServiceDefinition.clientInterceptorCommands
protected List<Command<ChenileExchange>>
OperationDefinition.clientInterceptorCommands
private List<Command<ChenileExchange>>
ChenileServiceDefinition.interceptorCommands
protected List<Command<ChenileExchange>>
OperationDefinition.interceptorCommands
private List<Command<ChenileExchange>>
ChenileConfiguration.postProcessorCommands
private List<Command<ChenileExchange>>
ChenileConfiguration.preProcessorCommands
Modifier and TypeMethodDescriptionChenileServiceDefinition.getBodyTypeSelector()
OperationDefinition.getBodyTypeSelector()
Modifier and TypeMethodDescriptionChenileServiceDefinition.getClientInterceptorCommands()
OperationDefinition.getClientInterceptorCommands()
ChenileServiceDefinition.getInterceptorCommands()
OperationDefinition.getInterceptorCommands()
ChenileConfiguration.getPostProcessorCommands()
ChenileConfiguration.getPreProcessorCommands()
Modifier and TypeMethodDescriptionvoid
ChenileServiceDefinition.setBodyTypeSelector
(Command<ChenileExchange> bodyTypeSelector) void
OperationDefinition.setBodyTypeSelector
(Command<ChenileExchange> command) Modifier and TypeMethodDescriptionvoid
ChenileServiceDefinition.setClientInterceptorCommands
(List<Command<ChenileExchange>> clientInterceptorCommands) void
OperationDefinition.setClientInterceptorCommands
(List<Command<ChenileExchange>> clientInterceptorCommands) void
ChenileServiceDefinition.setInterceptorCommands
(List<Command<ChenileExchange>> interceptorCommands) void
OperationDefinition.setInterceptorCommands
(List<Command<ChenileExchange>> commands) -
Uses of Command in org.chenile.core.transform
Modifier and TypeClassDescriptionclass
SubclassBodyTypeSelector uses the Subclass registry to determine the appropriate subclass based on the type to distinguish between subclasses.class
Determines the target type for the body of the ChenileExchange and populates that intoChenileExchange.getBodyType()
Uses registered bodyTypeSelectors either atChenileServiceDefinition
orOperationDefinition
class
Performs a transformation from JSON to theChenileExchange.getBodyType()
mentioned in theChenileExchange
Modifier and TypeMethodDescriptionprivate Command<ChenileExchange>
TransformationClassSelector.obtainBodyTypeSelector
(ChenileExchange exchange) -
Uses of Command in org.chenile.owiz
Modifier and TypeInterfaceDescriptioninterface
AttachableCommand<InputType>
A command becomes an attachable command if other commands can attach themselves to it using an attachment descriptor. -
Uses of Command in org.chenile.owiz.config
Modifier and TypeMethodDescriptionOrchConfigurator.obtainFirstCommand()
OrchConfigurator.obtainFirstCommand
(String flowId) Obtain the first command for the given flow Id. -
Uses of Command in org.chenile.owiz.config.impl
Modifier and TypeMethodDescriptionOrchConfiguratorBase.lookupCommand
(String componentName) This method uses the bean factory adapter to look up various bean factories.OrchConfiguratorBase.makeCommand
(CommandDescriptor<InputType> cd) OrchConfiguratorBase.obtainFirstCommand()
OrchConfiguratorBase.obtainFirstCommand
(String flowId) -
Uses of Command in org.chenile.owiz.config.model
Modifier and TypeMethodDescriptionCommandDescriptor.getCommand()
FlowDescriptor.obtainFirstCommand()
-
Uses of Command in org.chenile.owiz.impl
Modifier and TypeClassDescriptionclass
Chain<InputType>
A chain is a command that executes a chain of other commands.class
CommandBase<InputType>
Base class to implement command functionality.class
DelegatorCommand<InputType>
This Command delegates control to a method of an underlying object whose reference is passed to this command.class
DoNothing<InputType>
This command does nothing.class
FilterChain<InputType extends ChainContextContainer<InputType>>
A variation of the Chain for AOP like surround processing.class
InterpolationCommand<InputType>
This is a "dummy" command which needs to be attached to a parent command that supports this type of command.class
ParallelChain<InputType>
class
Router<InputType>
A router is a command that executes one of several commands based on a routing string.Modifier and TypeMethodDescriptionInterpolationCommand.fetchCommands
(InputType context) Chain.obtainExecutionCommands
(InputType context) Obtain the list of commands that needs to be actually executed.Modifier and TypeMethodDescriptionprotected boolean
ParallelChain.commandCanBeBypassed
(Command<InputType> cmd, InputType context) protected void
-
Uses of Command in org.chenile.owiz.impl.ognl
Modifier and TypeClassDescriptionclass
EvaluateRouter<InputType>
This is a specific subclass ofRouter
that uses OGNL to evaluate a boolean expression on the context.class
ForLoop<InputType>
Repeatedly, execute the attached commands till the expression specified by condition evaluates to false.class
OgnlRouter<InputType>
Avoids creation of multiple routers by allowing an expression that can be utilized on the context to obtain the route.class
SetCommand<InputType>
Sets specific parts of the context to a value. -
Uses of Command in org.chenile.owiz.impl.splitaggregate
Modifier and TypeClassDescriptionclass
Implements a split aggregate functionality. -
Uses of Command in org.chenile.proxy.interceptors
Modifier and TypeClassDescriptionclass
Invokes the remote service using HTTPclass
Invokes the Chenile Entry point locally since this service is local.class
Returns the correct route based on if the service is local or remoteclass
This class calculates the correct type for the response body. -
Uses of Command in org.chenile.proxy.interceptors.interpolations
Modifier and TypeClassDescriptionclass
Interpolates all the operation specific processors on the client side for Chenile Proxyclass
Interpolates all the service specific processors on the client side for Chenile ProxyModifier and TypeMethodDescriptionprotected List<Command<ChenileExchange>>
OperationSpecificClientProcessorsInterpolation.fetchCommands
(ChenileExchange exchange) protected List<Command<ChenileExchange>>
ServiceSpecificClientProcessorsInterpolation.fetchCommands
(ChenileExchange exchange) -
Uses of Command in org.chenile.query.service.interceptor
Modifier and TypeClassDescriptionclass
class
For specific queries, we should restrict the results only to authorized users. -
Uses of Command in org.chenile.security.interceptor
Modifier and TypeClassDescriptionclass
This interceptor usesSecurityConfig
to secure this particular resource.It first looks at the SecurityConfig to see if there are any guarding authorities for this service. -
Uses of Command in org.chenile.utils.region
-
Uses of Command in org.chenile.utils.tenant.commands
-
Uses of Command in org.chenile.workflow.service.stmcmds
Modifier and TypeClassDescriptionclass
Selects the body type of theChenileExchange
based on the event Id passed This should be used as the body type selector for theStateEntityServiceImpl.process(org.chenile.stm.StateEntity, String, Object)
method.