Mercurial > jhg
comparison src/org/tmatesoft/hg/core/SessionContext.java @ 295:981f9f50bb6c
Issue 11: Error log facility. SessionContext to share common facilities
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Fri, 16 Sep 2011 05:35:32 +0200 |
| parents | |
| children | 3cfa4d908fc9 |
comparison
equal
deleted
inserted
replaced
| 294:32890bab7209 | 295:981f9f50bb6c |
|---|---|
| 1 /* | |
| 2 * Copyright (c) 2011 TMate Software Ltd | |
| 3 * | |
| 4 * This program is free software; you can redistribute it and/or modify | |
| 5 * it under the terms of the GNU General Public License as published by | |
| 6 * the Free Software Foundation; version 2 of the License. | |
| 7 * | |
| 8 * This program is distributed in the hope that it will be useful, | |
| 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 * GNU General Public License for more details. | |
| 12 * | |
| 13 * For information on how to redistribute this software under | |
| 14 * the terms of a license other than GNU General Public License | |
| 15 * contact TMate Software at support@hg4j.com | |
| 16 */ | |
| 17 package org.tmatesoft.hg.core; | |
| 18 | |
| 19 import org.tmatesoft.hg.internal.Experimental; | |
| 20 import org.tmatesoft.hg.util.LogFacility; | |
| 21 | |
| 22 /** | |
| 23 * WORK IN PROGRESS | |
| 24 * | |
| 25 * Access to objects that might need to be shared between various distinct operations ran during the same working session | |
| 26 * (i.e. caches, log, etc.). It's unspecified whether session context is per repository or can span multiple repositories | |
| 27 * | |
| 28 * @author Artem Tikhomirov | |
| 29 * @author TMate Software Ltd. | |
| 30 */ | |
| 31 @Experimental(reason="Work in progress") | |
| 32 public interface SessionContext { | |
| 33 LogFacility getLog(); | |
| 34 } |
