Author: mes
Date: 2010-10-28 16:28:02 -0700 (Thu, 28 Oct 2010)
New Revision: 22619
Modified:
core3/service-util/trunk/src/main/java/org/cytoscape/service/util/CyServiceRegistrar.java
Log:
updated javadoc
Modified:
core3/service-util/trunk/src/main/java/org/cytoscape/service/util/CyServiceRegistrar.java
===================================================================
---
core3/service-util/trunk/src/main/java/org/cytoscape/service/util/CyServiceRegistrar.java
2010-10-28 23:23:33 UTC (rev 22618)
+++
core3/service-util/trunk/src/main/java/org/cytoscape/service/util/CyServiceRegistrar.java
2010-10-28 23:28:02 UTC (rev 22619)
@@ -10,9 +10,38 @@
* available at startup.
*/
public interface CyServiceRegistrar {
+
+ /**
+ * This method registers an object as an OSGi service
+ * with the specified service interface and properties.
+ * @param o The object to be registered as a service.
+ * @param c The service interface the object should be registered as.
+ * @param props The service properties.
+ */
void registerService(Object o, Class c, Dictionary props);
+
+ /**
+ * This method unregisters an object as an OSGi service
+ * for the specified service interface.
+ * @param o The object to be unregistered as a service.
+ * @param c The service interface the object should be unregistered as.
+ */
void unregisterService(Object o, Class c);
+ /**
+ * This method registers an object as an OSGi service
+ * for all interfaces that the object implements
+ * and with the specified properties.
+ * @param o The object to be registered as a service for all
+ * interfaces that the object implements.
+ * @param props The service properties.
+ */
void registerAllServices(Object o, Dictionary props);
+
+ /**
+ * This method unregisters an object as all OSGi service
+ * interfaces that the object implements.
+ * @param o The object to be unregistered for services it provids.
+ */
void unregisterAllServices(Object o);
}
--
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.