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

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.PortComponent
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter

public class PortComponent
extends AbstractWebServiceMBean

A PortComponent represents a port-component 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
PortComponent(String objectName)
          PortComponent Constructor
 
Method Summary
 void addHandlerMBean(Handler h)
          Add a handler
protected  List getChildsMBeans()
           
 String getEndpoint()
           
 String[] getHandlers()
           
 List getHandlersMBean()
           
 String getImplementationBean()
           
protected  String getMBeanType()
           
 String getName()
           
 String getServiceEndpointInterface()
           
 String getWsdlPort()
           
 void setEndpoint(String endpoint)
           
 void setImplementationBean(String implementationBean)
           
 void setName(String name)
           
 void setServiceEndpointInterface(String serviceEndpointInterface)
           
 void setWsdlPort(String wsdlPort)
           
 
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

PortComponent

public PortComponent(String objectName)
PortComponent Constructor

Parameters:
objectName - PortComponent's ObjectName
Method Detail

getEndpoint

public String getEndpoint()
Returns:
Returns the endpoint.

setEndpoint

public void setEndpoint(String endpoint)
Parameters:
endpoint - The endpoint to set.

getName

public String getName()
Returns:
Returns the name.

setName

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

getServiceEndpointInterface

public String getServiceEndpointInterface()
Returns:
Returns the serviceEndpointInterface.

setServiceEndpointInterface

public void setServiceEndpointInterface(String serviceEndpointInterface)
Parameters:
serviceEndpointInterface - The serviceEndpointInterface to set.

getWsdlPort

public String getWsdlPort()
Returns:
Returns the wsdlPort.

setWsdlPort

public void setWsdlPort(String wsdlPort)
Parameters:
wsdlPort - The wsdlPort to set.

getHandlersMBean

public List getHandlersMBean()
Returns:
Returns the handlers.

getHandlers

public String[] getHandlers()
Returns:
Returns the handlers.

addHandlerMBean

public void addHandlerMBean(Handler h)
Add a handler

Parameters:
h - Handler MBean

getImplementationBean

public String getImplementationBean()
Returns:
Returns the implementationBeanOName.

setImplementationBean

public void setImplementationBean(String implementationBean)
Parameters:
implementationBean - The implementationBeanOName to set.

getMBeanType

protected String getMBeanType()
Specified by:
getMBeanType in class AbstractWebServiceMBean
Returns:
Returns the PortComponent 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.