org.objectweb.jonas.ws.base.mbean
Class Service

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter
          extended by org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
              extended by org.objectweb.jonas.ws.base.mbean.AbstractWebServiceMBean
                  extended by org.objectweb.jonas.ws.base.mbean.Service
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter

public class Service
extends AbstractWebServiceMBean

A WebService MBean represents a webservice-description in webservices.xml.

Author:
Guillaume Sauthier

Field Summary
 
Fields inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME
 
Fields inherited from class org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
Service(String objectName)
          Service Constructor
 
Method Summary
 void addPortComponentMBean(PortComponent pc)
          Add a portComponent
protected  List getChildsMBeans()
           
 String getMappingFilename()
           
protected  String getMBeanType()
           
 String getName()
           
 String[] getPortComponents()
           
 List getPortComponentsMBean()
           
 String getWsdlFilename()
           
 String getWsdlURL()
           
 void setMappingFilename(String mappingFile)
           
 void setName(String name)
           
 void setWsdlFilename(String wsdlFilename)
           
 void setWsdlURL(String wsdlURL)
           
 
Methods inherited from class org.objectweb.jonas.ws.base.mbean.AbstractWebServiceMBean
getRealObjectName, register, register, unregister, unregister
 
Methods inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider
 
Methods inherited from class org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter
initLogger, sendReconfigNotification, sendSaveNotification
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service(String objectName)
Service Constructor

Parameters:
objectName - Service's ObjectName
Method Detail

getMappingFilename

public String getMappingFilename()
Returns:
Returns the mappingFile.

setMappingFilename

public void setMappingFilename(String mappingFile)
Parameters:
mappingFile - The mappingFile to set.

getWsdlFilename

public String getWsdlFilename()
Returns:
Returns the wsdlFilename.

setWsdlFilename

public void setWsdlFilename(String wsdlFilename)
Parameters:
wsdlFilename - The wsdlFilename to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.

getWsdlURL

public String getWsdlURL()
Returns:
Returns the wsdlURL.

setWsdlURL

public void setWsdlURL(String wsdlURL)
Parameters:
wsdlURL - The wsdlURL to set.

getPortComponentsMBean

public List getPortComponentsMBean()
Returns:
Returns the portComponents MBean.

getPortComponents

public String[] getPortComponents()
Returns:
Returns the portComponentONames.

addPortComponentMBean

public void addPortComponentMBean(PortComponent pc)
Add a portComponent

Parameters:
pc - PortComponent MBean

getMBeanType

protected String getMBeanType()
Specified by:
getMBeanType in class AbstractWebServiceMBean
Returns:
Returns the Service MBean subtype

getChildsMBeans

protected List getChildsMBeans()
Specified by:
getChildsMBeans in class AbstractWebServiceMBean
Returns:
Returns the childs MBeans (if any)


Copyright © 2007 OW2 Consortium. All Rights Reserved.