01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package mx4j.log;
10:
11: import javax.management.ListenerNotFoundException;
12: import javax.management.NotificationFilter;
13: import javax.management.NotificationListener;
14:
15: /**
16: * Management interface for the LoggerBroadcaster MBean.
17: *
18: * @version $Revision: 1.5 $
19: * @see LoggerBroadcaster
20: */
21: public interface LoggerBroadcasterMBean {
22: public void addNotificationListener(NotificationListener listener,
23: NotificationFilter filter, Object handback);
24:
25: public void removeNotificationListener(
26: NotificationListener listener, NotificationFilter filter,
27: Object handback) throws ListenerNotFoundException;
28:
29: public void start();
30:
31: public void start(String category);
32:
33: public void stop();
34:
35: public void stop(String category);
36: }
|