Author: pwang
Date: 2011-05-09 11:49:21 -0700 (Mon, 09 May 2011)
New Revision: 24964
Modified:
core3/core-task-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
core3/core-task-impl/trunk/src/main/resources/META-INF/spring/bundle-context.xml
Log:
Defined a new quickStartTaskFactory for Cytoscape start-up
Modified:
core3/core-task-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
===================================================================
---
core3/core-task-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
2011-05-09 18:46:50 UTC (rev 24963)
+++
core3/core-task-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
2011-05-09 18:49:21 UTC (rev 24964)
@@ -642,6 +642,14 @@
</osgi:service-properties>
</osgi:service>
+ <osgi:service id="quickStartTaskFactoryService2"
ref="quickStartTaskFactory2"
+ interface="org.cytoscape.work.TaskFactory">
+ <osgi:service-properties>
+ <entry key="id" value="QuickStart2" />
+ <entry key="scope" value="startup" />
+ </osgi:service-properties>
+ </osgi:service>
+
<osgi:service id="bioGridPreprocessorService" ref="bioGridPreprocessor"
auto-export="interfaces" />
Modified:
core3/core-task-impl/trunk/src/main/resources/META-INF/spring/bundle-context.xml
===================================================================
---
core3/core-task-impl/trunk/src/main/resources/META-INF/spring/bundle-context.xml
2011-05-09 18:46:50 UTC (rev 24963)
+++
core3/core-task-impl/trunk/src/main/resources/META-INF/spring/bundle-context.xml
2011-05-09 18:49:21 UTC (rev 24964)
@@ -331,7 +331,6 @@
<constructor-arg ref="cyTableManagerServiceRef" />
</bean>
-
<!-- Quick Start and Wizards -->
<bean id="quickStartTaskFactory"
class="org.cytoscape.task.internal.quickstart.QuickStartTaskFactory">
@@ -351,6 +350,14 @@
<constructor-arg ref="cyApplicationManagerServiceRef" />
</bean>
+ <!-- used to run at Cytoscape start-up -->
+ <bean id="quickStartTaskFactory2"
+
class="org.cytoscape.task.internal.quickstart.QuickStartTaskFactory2">
+ <constructor-arg ref="importTaskUtil" />
+ <constructor-arg ref="cyNetworkManagerServiceRef" />
+ <constructor-arg ref="subnetworkBuilderUtil" />
+ </bean>
+
<bean id="bioGridPreprocessor"
class="org.cytoscape.task.internal.quickstart.datasource.BioGridPreprocessor">
<constructor-arg ref="cyPropertyServiceRef" />
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.