/*******************************************************************************
 * Copyright (c) 2001 - 2007  TVWorks, Inc.  All rights reserved.
 *******************************************************************************/

package com.foo.logging;

import java.io.IOException;


/**
 * MBean interface for configuring logging.
 *
 * @version  $Revision: 1.25 $
 */
public interface LoggingMBean {
    /**
     * The log4j configuration file.
     *
     * @return  DOCUMENT ME!
     */
    public String getConfigFile();

    /**
     * The log4j configuration file. A Change to the config file will propagate
     * across the cluster.
     *
     * @param   filename  DOCUMENT ME!
     *
     * @throws  IOException  DOCUMENT ME!
     */
    public void setConfigFile(String filename) throws IOException;

    /**
     * Returns the foo value.
     *
     * @return  the foo value.
     */
    public String getFoo();

    /**
     * Sets the value of foo. This value is not propagated across the cluster.
     *
     * @param  foo  the foo value.
     */
    public void setFoo(String foo);
}
