[jboss-svn-commits] JBL Code SVN: r34990 - labs/jbossrules/trunk/drools-flow-core/src/main/java/org/drools/osgi/flow/core.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Sep 3 00:30:13 EDT 2010
Author: atoulme
Date: 2010-09-03 00:30:12 -0400 (Fri, 03 Sep 2010)
New Revision: 34990
Modified:
labs/jbossrules/trunk/drools-flow-core/src/main/java/org/drools/osgi/flow/core/Activator.java
Log:
JBRULES-2684: Copy-paste bug in Activator
Modified: labs/jbossrules/trunk/drools-flow-core/src/main/java/org/drools/osgi/flow/core/Activator.java
===================================================================
--- labs/jbossrules/trunk/drools-flow-core/src/main/java/org/drools/osgi/flow/core/Activator.java 2010-09-03 00:16:46 UTC (rev 34989)
+++ labs/jbossrules/trunk/drools-flow-core/src/main/java/org/drools/osgi/flow/core/Activator.java 2010-09-03 04:30:12 UTC (rev 34990)
@@ -31,20 +31,25 @@
implements
BundleActivator {
private ServiceRegistration processRuntimeReg;
-
+
+ private ServiceRegistration processRuntimeReg2;
+
public void start(BundleContext bc) throws Exception {
System.out.println( "registering flow core services" );
this.processRuntimeReg = bc.registerService( new String[]{ ProcessRuntimeFactoryService.class.getName(), Service.class.getName()},
new ProcessRuntimeFactoryServiceImpl(),
new Hashtable() );
- this.processRuntimeReg = bc.registerService( new String[]{ ProcessMarshallerFactoryService.class.getName(), Service.class.getName()},
+ this.processRuntimeReg2 = bc.registerService( new String[]{ ProcessMarshallerFactoryService.class.getName(), Service.class.getName()},
new ProcessMarshallerFactoryServiceImpl(),
new Hashtable() );
+
System.out.println( "flow core services registered" );
}
public void stop(BundleContext bc) throws Exception {
this.processRuntimeReg.unregister();
+ this.processRuntimeReg2.unregister();
+
}
}
More information about the jboss-svn-commits
mailing list