Created a basic context that will serve as a base interface for the

variety of other contexts we're going to need for the Three Rings
game platform.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@196 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2001-07-20 19:46:56 +00:00
parent 998ca7cf4f
commit 43e7ebcd4d
@@ -0,0 +1,22 @@
//
// $Id: Context.java,v 1.1 2001/07/20 19:46:56 mdb Exp $
package com.samskivert.util;
/**
* The context interface serves as a basis for a system whereby an
* application that makes use of a number of decoupled services, can
* provide implementations of components needed by those services and do
* with a single object that implements a host of different
* <code>Context</code> interfaces, each of which encapsulates the needs
* of a particular component. This is hard to explain in the abstract, and
* easy to understand in the concrete, but this is documentation and I'm
* lazy, so you'll have to try to cope with the abstract.
*/
public interface Context
{
/**
* Returns a reference to the config object in use in this application.
*/
public Config getConfig ();
}