KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > management > model > EJBWebServiceEndpointMdl


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 package com.sun.enterprise.management.model;
25
26 import javax.management.ObjectName JavaDoc;
27 import java.util.Set JavaDoc;
28 import java.util.Map JavaDoc;
29 import com.sun.enterprise.admin.wsmgmt.msg.MessageTraceMgr;
30 import com.sun.appserv.management.ext.wsmgmt.MessageTrace;
31 import com.sun.enterprise.admin.wsmgmt.stats.spi.StatsProviderManager;
32 import com.sun.enterprise.admin.wsmgmt.stats.spi.WebServiceEndpointStatsProvider;
33
34 /**
35  * WebServiceEndpoint type rutime MBean for EJB web service endpoints.
36  * This MBean provides functionality required for content visualization.
37  */

38 public class EJBWebServiceEndpointMdl extends WebServiceEndpointMdl {
39     
40     /**
41      * Public constructor.
42      *
43      * @param name Name of the web service endpoint
44      * @param moduleName Name of the module (which this web service belongs)
45      * @param regName registration name of the application or module
46      * @param isVirtual true, if the module is stand alone, false otherwise
47      * @param isEjb If this Web service endpoint is implemented as EJB
48      * or Servlet
49      */

50     public EJBWebServiceEndpointMdl(String JavaDoc name, String JavaDoc mName, String JavaDoc regName,
51     boolean isVirtual, boolean isejb) {
52         super(name,mName, regName, isVirtual, isejb);
53     }
54
55     /**
56      * Public constructor.
57      *
58      * @param name Name of the web service endpoint
59      * @param moduleName Name of the module (which this web service belongs)
60      * @param regName registration name of the application or module
61      * @param serverName Name of the server instance
62      * @param isVirtual true, if the module is stand alone, false otherwise
63      * @param isEjb If this Web service endpoint is implemented as EJB
64      * or Servlet
65      */

66     public EJBWebServiceEndpointMdl(String JavaDoc name, String JavaDoc moduleName,
67         String JavaDoc regName, String JavaDoc serverName, boolean isVirtual, boolean isejb) {
68         super(name,moduleName, regName, serverName, isVirtual, isejb);
69     }
70
71     /**
72      * The MBean name of the J2EEManagedObject as specified in
73      * runtime-mbeans-descriptors.xml. This value is used in registering the
74      * MBean.
75      *
76      * @return String MBeanName value of this Managed Object
77      */

78     public String JavaDoc getMBeanName() {
79              return EJB_MBEAN;
80     }
81 }
82
Popular Tags