01: /*
02: * Tomcat: The interface for the tomcat daemon.
03: * Copyright (C) 2007 Rift IT Contracting
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation; either
08: * version 2.1 of the License, or (at your option) any later version.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library; if not, write to the Free Software
17: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18: *
19: * TomcatImpl.java
20: */
21:
22: package com.rift.coad.daemon.tomcat;
23:
24: /**
25: * The implementation of the tomcat management interface.
26: *
27: * @author Brett Chaldecott
28: */
29: public class Tomcat implements TomcatMBean {
30:
31: /**
32: * Creates a new instance of TomcatImpl
33: */
34: public Tomcat() {
35: }
36:
37: /**
38: * This method returns the name of the tomcat daemon.
39: */
40: public String getName() {
41: return "Apache Tomcat 6.0";
42: }
43:
44: /**
45: * This method returns the description of the tom cat daemon.
46: */
47: public String getDescription() {
48: return "Apache Tomcat 6.0";
49: }
50:
51: /**
52: * This method returns the version of this daemon.
53: */
54: public String getVersion() {
55: return "Version 1.0";
56: }
57:
58: }
|