org.objectweb.jonas_ws.deployment.xml
Class PortComponent

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
          extended by org.objectweb.jonas_ws.deployment.xml.PortComponent
All Implemented Interfaces:
java.io.Serializable, DescriptionGroupXml, Element

public class PortComponent
extends AbsDescriptionElement
implements DescriptionGroupXml

This class defines the implementation of the element port-component (use here the common handler object defined in jonas-lib, even if there is no "port-name" in our case)

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
PortComponent()
          Constructor
 
Method Summary
 void addHandler(Handler handler)
          Add a new handler element to this object
 JLinkedList getHandlerList()
          Gets the handler
 java.lang.String getPortComponentName()
          Gets the port-component-name
 java.lang.String getServiceEndpointInterface()
          Gets the service-endpoint-interface
 ServiceImplBean getServiceImplBean()
          Gets the service-impl-bean
 Qname getWsdlPort()
          Gets the wsdl-port
 void setHandlerList(JLinkedList handlerList)
          Set the handler
 void setPortComponentName(java.lang.String portComponentName)
          Set the port-component-name
 void setServiceEndpointInterface(java.lang.String serviceEndpointInterface)
          Set the service-endpoint-interface
 void setServiceImplBean(ServiceImplBean serviceImplBean)
          Set the service-impl-bean
 void setWsdlPort(Qname wsdlPort)
          Set the wsdl-port
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

PortComponent

public PortComponent()
Constructor

Method Detail

getPortComponentName

public java.lang.String getPortComponentName()
Gets the port-component-name

Returns:
the port-component-name

setPortComponentName

public void setPortComponentName(java.lang.String portComponentName)
Set the port-component-name

Parameters:
portComponentName - portComponentName

getWsdlPort

public Qname getWsdlPort()
Gets the wsdl-port

Returns:
the wsdl-port

setWsdlPort

public void setWsdlPort(Qname wsdlPort)
Set the wsdl-port

Parameters:
wsdlPort - wsdlPort

getServiceEndpointInterface

public java.lang.String getServiceEndpointInterface()
Gets the service-endpoint-interface

Returns:
the service-endpoint-interface

setServiceEndpointInterface

public void setServiceEndpointInterface(java.lang.String serviceEndpointInterface)
Set the service-endpoint-interface

Parameters:
serviceEndpointInterface - serviceEndpointInterface

getServiceImplBean

public ServiceImplBean getServiceImplBean()
Gets the service-impl-bean

Returns:
the service-impl-bean

setServiceImplBean

public void setServiceImplBean(ServiceImplBean serviceImplBean)
Set the service-impl-bean

Parameters:
serviceImplBean - serviceImplBean

getHandlerList

public JLinkedList getHandlerList()
Gets the handler

Returns:
the handler

setHandlerList

public void setHandlerList(JLinkedList handlerList)
Set the handler

Parameters:
handlerList - handler

addHandler

public void addHandler(Handler handler)
Add a new handler element to this object

Parameters:
handler - the handlerobject

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.