Class ApplicationContextClassloaderSwitchPlugin
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.plugin.ApplicationContextClassloaderSwitchPlugin
-
- All Implemented Interfaces:
ProcessEnginePlugin
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class ApplicationContextClassloaderSwitchPlugin extends java.lang.Object implements ProcessEnginePlugin, org.springframework.context.ApplicationContextAware
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ClassLoader
applicationContextClassloader
-
Constructor Summary
Constructors Constructor Description ApplicationContextClassloaderSwitchPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postInit(ProcessEngineConfigurationImpl processEngineConfiguration)
Invoked after the process engine configuration is initialized.void
postProcessEngineBuild(ProcessEngine processEngine)
Invoked after the process engine has been built.void
preInit(ProcessEngineConfigurationImpl processEngineConfiguration)
Invoked before the process engine configuration is initialized.void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
java.lang.String
toString()
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
preInit
public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration)
Description copied from interface:ProcessEnginePlugin
Invoked before the process engine configuration is initialized.
- Specified by:
preInit
in interfaceProcessEnginePlugin
- Parameters:
processEngineConfiguration
- the process engine configuation
-
postInit
public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration)
Description copied from interface:ProcessEnginePlugin
Invoked after the process engine configuration is initialized. and before the process engine is built.
- Specified by:
postInit
in interfaceProcessEnginePlugin
- Parameters:
processEngineConfiguration
- the process engine configuation
-
postProcessEngineBuild
public void postProcessEngineBuild(ProcessEngine processEngine)
Description copied from interface:ProcessEnginePlugin
Invoked after the process engine has been built.
- Specified by:
postProcessEngineBuild
in interfaceProcessEnginePlugin
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-