KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > transactionsDiscRack > TransactionsDiscRack


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Enhydra Application Server is Lutris
15  * Technologies, Inc. The Enhydra Application Server and portions created
16  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17  * All Rights Reserved.
18  *
19  * Contributor(s):
20  *
21  * $Id: TransactionsDiscRack.java,v 1.1 2004/08/16 10:48:52 slobodan Exp $
22  */

23
24 package transactionsDiscRack;
25
26 import com.lutris.appserver.server.*;
27 import com.lutris.appserver.server.httpPresentation.*;
28 import com.lutris.appserver.server.session.*;
29 import com.lutris.util.*;
30
31 /**
32  * The application object.
33  *
34  * Application-wide data would go here.
35  */

36 public class TransactionsDiscRack extends StandardApplication {
37     
38     /*
39      * A few methods you might want to add to.
40      * See StandardApplication for more details.
41      */

42     public void startup(Config appConfig)
43         throws ApplicationException {
44         super.startup(appConfig);
45         // Here is where you would read application-specific settings from
46
// your config file.
47
}
48     
49     public boolean requestPreprocessor(HttpPresentationComms comms)
50         throws Exception JavaDoc{
51         return super.requestPreprocessor(comms);
52     }
53
54     /**
55      * This is an optional function, used only by the Multiserver's graphical
56      * administration. This bit of HTML appears in the status page for this
57      * application. You could add extra status info, for example
58      * a list of currently logged in users.
59      *
60      * @return HTML that is displayed in the status page of the Multiserver.
61      */

62     public String JavaDoc toHtml() {
63         return "This is <I>TransactionsDiscRack</I>";
64     }
65 }
66
67
Popular Tags