コード例 #1
0
 protected void fireBeforeProcessEngineControllerStart(
     ProcessEngineController processEngineController) {
   List<PlatformServiceExtension> loadableExtensions =
       PlatformServiceExtensionHelper.getLoadableExtensions();
   for (PlatformServiceExtension platformServiceExtension : loadableExtensions) {
     try {
       platformServiceExtension.beforeProcessEngineControllerStart(processEngineController);
     } catch (Exception e) {
       throw new FoxPlatformException(
           "Exception while invoking 'beforeProcessEngineControllerStart' for PlatformServiceExtension "
               + platformServiceExtension.getClass(),
           e);
     }
   }
 }
コード例 #2
0
 protected void fireAfterProcessEngineControllerStart(
     ProcessEngineController processEngineController) {
   List<PlatformServiceExtension> loadableExtensions =
       PlatformServiceExtensionHelper.getLoadableExtensions();
   for (PlatformServiceExtension platformServiceExtension : loadableExtensions) {
     try {
       platformServiceExtension.afterProcessEngineControllerStart(processEngineController);
     } catch (Exception e) {
       log.log(
           Level.SEVERE,
           "Exception while invoking 'afterProcessEngineControllerStart' for PlatformServiceExtension "
               + platformServiceExtension.getClass(),
           e);
     }
   }
 }