org.objectweb.jonas_lib.deployment.xml
Class ServiceRef

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.ServiceRef
All Implemented Interfaces:
java.io.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()
           
 java.lang.String getJaxrpcMappingFile()
           
 JLinkedList getPortComponentRefList()
           
 java.lang.String getServiceInterface()
           
 Qname getServiceQname()
           
 java.lang.String getServiceRefName()
           
 java.lang.String getWsdlFile()
           
 void setJaxrpcMappingFile(java.lang.String jaxrpcMappingFile)
          Sets the jaxrpc-mapping-file element of the service-ref
 void setServiceInterface(java.lang.String serviceInterface)
          Sets the service-interface of the service-ref
 void setServiceQname(Qname serviceQname)
          Sets the service-qname of the service-ref
 void setServiceRefName(java.lang.String serviceRefName)
          Sets the service-ref-name of the service-ref
 void setWsdlFile(java.lang.String wsdlFile)
          Sets the wsdl-file element of the service-ref
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
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
 

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(java.lang.String serviceRefName)
Sets the service-ref-name of the service-ref

Parameters:
serviceRefName - of the service-ref

setServiceInterface

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

Parameters:
serviceInterface - name of the service-ref

setJaxrpcMappingFile

public void setJaxrpcMappingFile(java.lang.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(java.lang.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 java.lang.String getServiceRefName()
Returns:
the service-ref-name of the service-ref

getServiceInterface

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

getJaxrpcMappingFile

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

getWsdlFile

public java.lang.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 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.