01: /*
02: * Copyright 1999,2004 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.apache.catalina.mbeans;
18:
19: import javax.management.MBeanException;
20: import javax.management.MBeanServer;
21: import javax.management.RuntimeOperationsException;
22:
23: import org.apache.commons.modeler.BaseModelMBean;
24:
25: /**
26: * <p>A <strong>ModelMBean</strong> implementation for the
27: * <code>org.apache.catalina.core.StandardService</code> component.</p>
28: *
29: * @author Amy Roh
30: * @version $Revision: 1.3 $ $Date: 2004/02/27 14:58:45 $
31: */
32:
33: public class StandardServiceMBean extends BaseModelMBean {
34:
35: /**
36: * The <code>MBeanServer</code> for this application.
37: */
38: private static MBeanServer mserver = MBeanUtils.createServer();
39:
40: // ----------------------------------------------------------- Constructors
41:
42: /**
43: * Construct a <code>ModelMBean</code> with default
44: * <code>ModelMBeanInfo</code> information.
45: *
46: * @exception MBeanException if the initializer of an object
47: * throws an exception
48: * @exception RuntimeOperationsException if an IllegalArgumentException
49: * occurs
50: */
51: public StandardServiceMBean() throws MBeanException,
52: RuntimeOperationsException {
53:
54: super ();
55:
56: }
57:
58: // ------------------------------------------------------------- Attributes
59:
60: // ------------------------------------------------------------- Operations
61:
62: }
|