View Javadoc

1   /**
2    * Logback: the reliable, generic, fast and flexible logging framework.
3    * 
4    * Copyright (C) 1999-2006, QOS.ch
5    * 
6    * This library is free software, you can redistribute it and/or modify it under
7    * the terms of the GNU Lesser General Public License as published by the Free
8    * Software Foundation.
9    */
10  package ch.qos.logback.classic.jmx;
11  
12  import java.io.FileNotFoundException;
13  import java.net.URL;
14  import java.util.List;
15  
16  import ch.qos.logback.core.joran.spi.JoranException;
17  
18  public interface JMXConfiguratorMBean {
19    
20    public void reloadDefaultConfiguration() throws JoranException;
21    
22    public void reloadByFileName(String fileName) throws JoranException, FileNotFoundException;
23    
24    public void reloadByURL(URL url) throws JoranException;
25    
26    public void setLoggerLevel(String loggerName, String levelStr);
27    
28    public String getLoggerLevel(String loggerName);
29    
30    public String getLoggerEffectiveLevel(String loggerName);
31  
32    public List<String> getLoggerList();
33    
34    public List<String> getStatuses();
35  }