Author: slotia
Date: 2013-01-18 11:12:20 -0800 (Fri, 18 Jan 2013)
New Revision: 31058
Modified:
core3/api/trunk/service-api/src/main/java/org/cytoscape/service/util/CyServiceRegistrar.java
Log:
Further updated service api docs
Modified:
core3/api/trunk/service-api/src/main/java/org/cytoscape/service/util/CyServiceRegistrar.java
===================================================================
---
core3/api/trunk/service-api/src/main/java/org/cytoscape/service/util/CyServiceRegistrar.java
2013-01-18 19:05:45 UTC (rev 31057)
+++
core3/api/trunk/service-api/src/main/java/org/cytoscape/service/util/CyServiceRegistrar.java
2013-01-18 19:12:20 UTC (rev 31058)
@@ -12,6 +12,14 @@
* if you need to register services outside of {@code AbstractCyActivator}'s
* {@code start} method.
*
+ * This class differs in one important way from {@code AbstractCyActivator}.
+ * {@code AbstractCyActivator} maintains a list of requested services. When
+ * the bundle is stopped, {@code AbstractCyActivator} releases
+ * these services. {@code CyServiceRegistrar} also maintains a list
+ * of requested services, but this list is separate from {@code
AbstractCyActivator}.
+ * Services requested through this class must be released using one of
+ * the {@code unregisterService} methods when the bundle is stopped.
+ *
* @CyAPI.Api.Interface
* @CyAPI.InModule service-api
*/
--
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.