Skip to content

Commit

Permalink
[DROOLS-787] re-initialize process factories directly in the bundle A…
Browse files Browse the repository at this point in the history
…ctivators
  • Loading branch information
Petr Siroky authored and mariofusco committed Jan 25, 2016
1 parent f1df089 commit da31bb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -35,7 +35,7 @@ public void start(BundleContext bc) throws Exception {
this.processBuilderReg = bc.registerService( new String[]{ ProcessBuilderFactoryService.class.getName(), Service.class.getName()},
new ProcessBuilderFactoryServiceImpl(),
new Hashtable() );
ProcessBuilderFactory.resetInitialization();
ProcessBuilderFactory.reInitializeProvider();
}

public void stop(BundleContext bc) throws Exception {
Expand Down
Expand Up @@ -42,7 +42,7 @@ public void start(BundleContext bc) throws Exception {
this.processRuntimeReg2 = bc.registerService( new String[]{ ProcessMarshallerFactoryService.class.getName(), Service.class.getName()},
new ProcessMarshallerFactoryServiceImpl(),
new Hashtable() );
ProcessRuntimeFactory.resetInitialization();
ProcessRuntimeFactory.reInitializeProvider();
}

public void stop(BundleContext bc) throws Exception {
Expand Down

0 comments on commit da31bb3

Please sign in to comment.