KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > webservice > PortComponent


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.webservice;
8
9 // $Id: PortComponent.java,v 1.2.4.2 2005/03/02 14:32:35 tdiesler Exp $
10

11
12 /**
13  * This object registered with MBeanServer
14  * <p/>
15  * The key is [deploymentName]#[port-component-name]
16  *
17  * @author Thomas.Diesler@jboss.org
18  * @jmx.mbean description="Web Service Port Component"
19  * @since 17-Jun-2004
20  */

21 public class PortComponent implements PortComponentMBean
22 {
23    private String JavaDoc serviceID;
24
25    public PortComponent(PortComponentInfo pcInfo)
26    {
27       this.serviceID = pcInfo.getServiceID();
28    }
29
30    /**
31     * @jmx.managed-attribute
32     */

33    public String JavaDoc getServiceID()
34    {
35       return serviceID;
36    }
37 }
38
39
Popular Tags