org.objectweb.jonas_lib.deployment.xml
Class JonasServiceRef

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

public class JonasServiceRef
extends AbsElement

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

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
JonasServiceRef()
          Constructor : build a new JonasServiceRef object
 
Method Summary
 void addJonasInitParam(JonasInitParam jonasInitParam)
          Add a parameter
 void addJonasPortComponentRef(JonasPortComponentRef jonasPortComponentRef)
          Add a parameter
 java.lang.String getAltWsdl()
           
 JLinkedList getJonasInitParamList()
           
 JLinkedList getJonasPortComponentRefList()
           
 java.lang.String getServiceRefName()
           
 void setAltWsdl(java.lang.String altWsdl)
           
 void setServiceRefName(java.lang.String serviceRefName)
          Sets the name
 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

JonasServiceRef

public JonasServiceRef()
Constructor : build a new JonasServiceRef object

Method Detail

setServiceRefName

public void setServiceRefName(java.lang.String serviceRefName)
Sets the name

Parameters:
serviceRefName - the name to use

addJonasInitParam

public void addJonasInitParam(JonasInitParam jonasInitParam)
Add a parameter

Parameters:
jonasInitParam - the JonasInitParam object to add to our list

addJonasPortComponentRef

public void addJonasPortComponentRef(JonasPortComponentRef jonasPortComponentRef)
Add a parameter

Parameters:
jonasPortComponentRef - the JonasPortComponentRef object to add to our list

setAltWsdl

public void setAltWsdl(java.lang.String altWsdl)
Parameters:
altWsdl - The altWsdl to set.

getServiceRefName

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

getJonasInitParamList

public JLinkedList getJonasInitParamList()
Returns:
the list of init parameters

getJonasPortComponentRefList

public JLinkedList getJonasPortComponentRefList()
Returns:
the list of jonas port component ref

getAltWsdl

public java.lang.String getAltWsdl()
Returns:
Returns the altWsdl.

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.