org.ow2.jonas.deployment.ws.xml
Class PortComponent

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
          extended by org.ow2.jonas.deployment.ws.xml.PortComponent
All Implemented Interfaces:
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
 String getPortComponentName()
          Gets the port-component-name
 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(String portComponentName)
          Set the port-component-name
 void setServiceEndpointInterface(String serviceEndpointInterface)
          Set the service-endpoint-interface
 void setServiceImplBean(ServiceImplBean serviceImplBean)
          Set the service-impl-bean
 void setWsdlPort(Qname wsdlPort)
          Set the wsdl-port
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
Methods inherited from class org.ow2.jonas.deployment.common.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.ow2.jonas.deployment.common.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

PortComponent

public PortComponent()
Constructor

Method Detail

getPortComponentName

public String getPortComponentName()
Gets the port-component-name

Returns:
the port-component-name

setPortComponentName

public void setPortComponentName(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 String getServiceEndpointInterface()
Gets the service-endpoint-interface

Returns:
the service-endpoint-interface

setServiceEndpointInterface

public void setServiceEndpointInterface(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 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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.