KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > jmx > server > InterfaceHandler


1 /*
2  * (c) Rob Gordon 2005
3  */

4 package org.oddjob.jmx.server;
5
6 import javax.management.MBeanException JavaDoc;
7 import javax.management.Notification JavaDoc;
8 import javax.management.ReflectionException JavaDoc;
9
10 public interface InterfaceHandler {
11
12     public Object JavaDoc invoke(final String JavaDoc actionName, final Object JavaDoc[] params, String JavaDoc[] signature)
13     throws MBeanException JavaDoc, ReflectionException JavaDoc;
14         
15     /**
16      * Get the last notification which are the notification sent during a
17      * resync which will allow a client node to rebuild itself with the correct
18      * state and children etc.
19      *
20      * @return The last Notifications sent by the Instance.
21      */

22     public Notification JavaDoc[] getLastNotifications();
23         
24     public void destroy();
25 }
Popular Tags