Code

java plugin: Implement registration for the other methods.
[collectd.git] / bindings / java / org / collectd / api / CollectdAPI.java
index 9e76e0efb6cdd03cd3d3213f41ad46e481aba777..9dbe7c0d482a8008e260b9aa3ac3491372ac46b7 100644 (file)
@@ -38,6 +38,18 @@ public class CollectdAPI
    */
   native public static DataSet GetDS (String type);
 
+  /**
+   * Java representation of collectd/src/plugin.h:plugin_register_config
+   */
+  native public static int RegisterConfig (String name,
+      CollectdConfigInterface obj);
+
+  /**
+   * Java representation of collectd/src/plugin.h:plugin_register_init
+   */
+  native public static int RegisterInit (String name,
+      CollectdInitInterface obj);
+
   /**
    * Java representation of collectd/src/plugin.h:plugin_register_read
    */
@@ -49,6 +61,12 @@ public class CollectdAPI
    */
   native public static int RegisterWrite (String name,
       CollectdWriteInterface obj);
+
+  /**
+   * Java representation of collectd/src/plugin.h:plugin_register_shutdown
+   */
+  native public static int RegisterShutdown (String name,
+      CollectdShutdownInterface obj);
 } /* class CollectdAPI */
 
 /* vim: set sw=2 sts=2 et fdm=marker : */