Revision 5277
Added by Matt Jones over 14 years ago
src/edu/ucsb/nceas/metacat/MetacatHandler.java | ||
---|---|---|
1 |
/** |
|
2 |
* '$RCSfile$' |
|
3 |
* Copyright: 2010 Regents of the University of California and the |
|
4 |
* National Center for Ecological Analysis and Synthesis |
|
5 |
* |
|
6 |
* '$Author: jones $' |
|
7 |
* '$Date: 2010-02-03 17:58:12 -0900 (Wed, 03 Feb 2010) $' |
|
8 |
* '$Revision: 5211 $' |
|
9 |
* |
|
10 |
* This program is free software; you can redistribute it and/or modify |
|
11 |
* it under the terms of the GNU General Public License as published by |
|
12 |
* the Free Software Foundation; either version 2 of the License, or |
|
13 |
* (at your option) any later version. |
|
14 |
* |
|
15 |
* This program is distributed in the hope that it will be useful, |
|
16 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
* GNU General Public License for more details. |
|
19 |
* |
|
20 |
* You should have received a copy of the GNU General Public License |
|
21 |
* along with this program; if not, write to the Free Software |
|
22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
*/ |
|
24 |
|
|
1 | 25 |
package edu.ucsb.nceas.metacat; |
2 | 26 |
|
3 | 27 |
import java.io.BufferedInputStream; |
... | ... | |
68 | 92 |
import edu.ucsb.nceas.utilities.ParseLSIDException; |
69 | 93 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
70 | 94 |
|
95 |
/** |
|
96 |
* General entry point for the Metacat server which is called from various |
|
97 |
* mechanisms such as the standard MetacatServlet class and the various web |
|
98 |
* service servlets such as RestServlet class. All application logic should be |
|
99 |
* encapsulated in this class, and the calling classes should only contain |
|
100 |
* parameter marshaling and demarshaling code, delegating all else to this |
|
101 |
* MetacatHandler instance. |
|
102 |
* @author Matthew Jones |
|
103 |
*/ |
|
71 | 104 |
public class MetacatHandler { |
72 | 105 |
|
73 | 106 |
private static boolean _sitemapScheduled = false; |
Also available in: Unified diff
Added copyright, license, and class documentation.