KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > log > LoggerBroadcasterMBean


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.log;
10
11 import javax.management.ListenerNotFoundException JavaDoc;
12 import javax.management.NotificationFilter JavaDoc;
13 import javax.management.NotificationListener JavaDoc;
14
15 /**
16  * Management interface for the LoggerBroadcaster MBean.
17  *
18  * @version $Revision: 1.5 $
19  * @see LoggerBroadcaster
20  */

21 public interface LoggerBroadcasterMBean
22 {
23    public void addNotificationListener(NotificationListener JavaDoc listener, NotificationFilter JavaDoc filter, Object JavaDoc handback);
24
25    public void removeNotificationListener(NotificationListener JavaDoc listener, NotificationFilter JavaDoc filter, Object JavaDoc handback) throws ListenerNotFoundException JavaDoc;
26
27    public void start();
28
29    public void start(String JavaDoc category);
30
31    public void stop();
32
33    public void stop(String JavaDoc category);
34 }
35
Popular Tags