/*
 * @(#)ConsoleAware.java    1.0  7 February 2001
 *
 * Copyright 2004
 * College of Computer and Information Science
 * Northeastern University
 * Boston, MA  02115
 *
 * The Java Power Tools software may be used for educational
 * purposes as long as this copyright notice is retained intact
 * at the top of all source files.
 *
 * To discuss possible commercial use of this software, 
 * contact Richard Rasala at Northeastern University, 
 * College of Computer and Information Science,
 * 617-373-2462 or rasala@ccs.neu.edu.
 *
 * The Java Power Tools software has been designed and built
 * in collaboration with Viera Proulx and Jeff Raab.
 *
 * Should this software be modified, the words "Modified from 
 * Original" must be included as a comment below this notice.
 *
 * All publication rights are retained.  This software or its 
 * documentation may not be published in any media either
 * in whole or in part without explicit permission.
 *
 * This software was created with support from Northeastern 
 * University and from NSF grant DUE-9950829.
 */

package edu.neu.ccs.console;

/**
 * <P>Interface to be implemented by classes of objects
 * that desire access to the shared text console.  
 *
 * This interface simply provides access to the shared
 * <CODE>{@link ConsoleGateway ConsoleGateway}</CODE>
 * object providing text input and output capabilities
 * for threads running in the Java Virtual Machine.</P>
 *
 * <P>Note that it is possible to use <CODE>System.in</CODE>,
 * <CODE>System.out</CODE> and <CODE>System.err</CODE>
 * to directly access the Java Virtual Machine console,
 * but such access may be restricted by a security manager
 * of the Java Virtual Machine, or may not be supported
 * by the Java Virtual Machine on which a thread is running.
 *
 * The shared console object made accessible
 * through this interface has further functionality
 * not provided by the <CODE>System</CODE> stream objects.</P>
 * 
 * @author  Jeff Raab
 * @version 2.2
 * @since   1.0
 * @see ConsoleGateway
 */
public interface ConsoleAware {
    
    /** The shared console object. */
    public static ConsoleGateway console = new ConsoleGateway();
}
