本文整理汇总了Java中org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin类的典型用法代码示例。如果您正苦于以下问题:Java AbstractProcessEnginePlugin类的具体用法?Java AbstractProcessEnginePlugin怎么用?Java AbstractProcessEnginePlugin使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AbstractProcessEnginePlugin类属于org.camunda.bpm.engine.impl.cfg包,在下文中一共展示了AbstractProcessEnginePlugin类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: fire_preInit
import org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin; //导入依赖的package包/类
@Test
public void fire_preInit() throws Exception {
camundaEventBus.register(new AbstractProcessEnginePlugin() {
@Override
public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) {
processEngineConfiguration.getBeans();
}
});
camundaEventBus.notify(ProcessEnginePluginEvent.preInit(processEngineConfiguration));
verify(processEngineConfiguration).getBeans();
}
示例2: fire_postInit
import org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin; //导入依赖的package包/类
@Test
public void fire_postInit() throws Exception {
camundaEventBus.register(new AbstractProcessEnginePlugin() {
@Override
public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration) {
processEngineConfiguration.getBeans();
}
});
camundaEventBus.notify(ProcessEnginePluginEvent.postInit(processEngineConfiguration));
verify(processEngineConfiguration).getBeans();
}
示例3: fire_postEngineBuild
import org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin; //导入依赖的package包/类
@Test
public void fire_postEngineBuild() throws Exception {
camundaEventBus.register(new AbstractProcessEnginePlugin() {
@Override
public void postProcessEngineBuild(ProcessEngine processEngine) {
processEngine.getName();
}
});
camundaEventBus.notify(ProcessEnginePluginEvent.postProcessEngineBuild(processEngine));
verify(processEngine).getName();
}