org.ow2.jonas.deployment.common.xml
Class ServiceRef

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.ServiceRef
All Implemented Interfaces:
Serializable, Element

public class ServiceRef
extends AbsElement

This class defines the implementation of the element service-ref.

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
ServiceRef()
          Constructor : build a new ServiceRef object
 
Method Summary
 void addHandler(Handler handler)
          Add a new handler element to this object
 void addPortComponentRef(PortComponentRef portComponentRef)
          Add a new port-component-ref element to this object
 JLinkedList getHandlerList()
           
 String getJaxrpcMappingFile()
           
 JLinkedList getPortComponentRefList()
           
 String getServiceInterface()
           
 Qname getServiceQname()
           
 String getServiceRefName()
           
 String getWsdlFile()
           
 void setJaxrpcMappingFile(String jaxrpcMappingFile)
          Sets the jaxrpc-mapping-file element of the service-ref
 void setServiceInterface(String serviceInterface)
          Sets the service-interface of the service-ref
 void setServiceQname(Qname serviceQname)
          Sets the service-qname of the service-ref
 void setServiceRefName(String serviceRefName)
          Sets the service-ref-name of the service-ref
 void setWsdlFile(String wsdlFile)
          Sets the wsdl-file element of the service-ref
 String toXML(int indent)
          Represents this element by it's XML description.
 
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
 

Constructor Detail

ServiceRef

public ServiceRef()
Constructor : build a new ServiceRef object

Method Detail

addPortComponentRef

public void addPortComponentRef(PortComponentRef portComponentRef)
Add a new port-component-ref element to this object

Parameters:
portComponentRef - the port-component-ref object

addHandler

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

Parameters:
handler - the handler object

setServiceRefName

public void setServiceRefName(String serviceRefName)
Sets the service-ref-name of the service-ref

Parameters:
serviceRefName - of the service-ref

setServiceInterface

public void setServiceInterface(String serviceInterface)
Sets the service-interface of the service-ref

Parameters:
serviceInterface - name of the service-ref

setJaxrpcMappingFile

public void setJaxrpcMappingFile(String jaxrpcMappingFile)
Sets the jaxrpc-mapping-file element of the service-ref

Parameters:
jaxrpcMappingFile - jaxrpc-mapping-file of the service-ref

setWsdlFile

public void setWsdlFile(String wsdlFile)
Sets the wsdl-file element of the service-ref

Parameters:
wsdlFile - name of the service-ref

setServiceQname

public void setServiceQname(Qname serviceQname)
Sets the service-qname of the service-ref

Parameters:
serviceQname - of the service-ref

getServiceRefName

public String getServiceRefName()
Returns:
the service-ref-name of the service-ref

getServiceInterface

public String getServiceInterface()
Returns:
the service-interface of the service-ref

getJaxrpcMappingFile

public String getJaxrpcMappingFile()
Returns:
the Jaxrpc-mapping-file of the service-ref

getWsdlFile

public String getWsdlFile()
Returns:
the wsdl-file of the service-ref

getServiceQname

public Qname getServiceQname()
Returns:
the service-qname element

getHandlerList

public JLinkedList getHandlerList()
Returns:
the list of all handler elements

getPortComponentRefList

public JLinkedList getPortComponentRefList()
Returns:
the list of all port-component-ref elements

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.