Package org.apache.camel.dsl.support
Interface CompilePostProcessor
-
public interface CompilePostProcessorAllows to plugin custom post processors that are processed after the DSL has loaded the source and compiled into a Java object. This is used to detect and handleBindToRegistryandConverterclasses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpostCompile(org.apache.camel.CamelContext camelContext, String name, Class<?> clazz, Object instance)Invoked after the class has been compiled
-
-
-
Method Detail
-
postCompile
void postCompile(org.apache.camel.CamelContext camelContext, String name, Class<?> clazz, Object instance) throws ExceptionInvoked after the class has been compiled- Parameters:
camelContext- the camel contextname- the name of the resource/classclazz- the classinstance- the object created as instance of the class (if any)- Throws:
Exception- is thrown if error during post-processing
-
-