public class ConnectivityProcessorInterfaceGenerator extends AbstractMuleGenerator implements MultiModuleGenerator
DevkitBasedMessageProcessor
, while the later being subclasses of
AbstractDevkitBasedPageableMessageProcessor
.
This interface will help the generated ManagedConnectionProcessInterceptor (see
ConnectionManagerGenerator
) to look for overwritten
variables within each processor, and then evaluates if it's necessary to create a new key to connect with.AbstractMuleGenerator.FieldVariableElement
Modifier and Type | Field and Description |
---|---|
static String |
METHOD_TYPE_FOR |
privateFieldnames
MULE_CONTEXT_FIELD_NAME
context
Constructor and Description |
---|
ConnectivityProcessorInterfaceGenerator() |
Modifier and Type | Method and Description |
---|---|
List<Product> |
consumes() |
void |
generate(List<Module> modules) |
protected GeneratedClass |
getConnectivityProcessorInterfaceClass(Module type) |
List<Module> |
processableModules(List<Module> modules) |
List<Product> |
produces() |
boolean |
shouldGenerate(List<Module> modules) |
declareNestedProcessorParameter, declareTransformedVariable, declareTransformedVariable, generateCustomConstructor, generateFieldForEachParameter, generateFieldForModuleObject, generateInitialiseMethod, generateProcessorFieldForEachParameter, generateSetFlowConstructMethod, generateSetMuleContextMethod, generateStandardFieldForEachParameter, generateStandardFieldForEachParameter, generateThrow, generateThrow, getModuleObject, getModuleObject, getModuleObject, getModuleObject, getPrivateFieldnames
generateIsCapableOfMethod
generateLoggerField, ref, ref, ref, ref
ctx, setCtx
public static final String METHOD_TYPE_FOR
public ConnectivityProcessorInterfaceGenerator()
public boolean shouldGenerate(List<Module> modules)
shouldGenerate
in interface MultiModuleGenerator
public List<Module> processableModules(List<Module> modules)
processableModules
in interface MultiModuleGenerator
public void generate(List<Module> modules) throws GenerationException
generate
in interface MultiModuleGenerator
GenerationException
protected GeneratedClass getConnectivityProcessorInterfaceClass(Module type) throws GenerationException
GenerationException
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.