org.objectweb.jonas_lib.deployment.api
Class EjbRefDesc

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.api.EjbRefDesc

public class EjbRefDesc
extends java.lang.Object

This class represents the description of an EjbRef object

Author:
Christophe Ney, Florent Benoit

Constructor Summary
EjbRefDesc(EjbRef ejbRef, JonasEjbRef jonasEjbRef)
          Construct a descriptor for an ejb-ref tag.
 
Method Summary
 java.lang.String getEjbLink()
          Get the ejb-link
 java.lang.String getEjbRefName()
          Get the name of the ejb-ref
 java.lang.String getEjbRefType()
          Get the ejb-ref-type.
 java.lang.String getJndiName()
          Get the jndi name of the ejb-ref.
 void setJndiName(java.lang.String jndiName)
          Set the jndi name of the ejb-ref.
 java.lang.String toString()
          String representation of the object for test purpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbRefDesc

public EjbRefDesc(EjbRef ejbRef,
                  JonasEjbRef jonasEjbRef)
           throws DeploymentDescException
Construct a descriptor for an ejb-ref tag.

Parameters:
ejbRef - the ejb ref resulting of the xml parsing.
jonasEjbRef - the jonas ejb ref resulting of the xml parsing.
Throws:
DeploymentDescException - when missing information for creating the EjbRefDesc.
Method Detail

getEjbRefName

public java.lang.String getEjbRefName()
Get the name of the ejb-ref

Returns:
String representation of the ejb-ref-name.

getEjbRefType

public java.lang.String getEjbRefType()
Get the ejb-ref-type.

Returns:
String representation of the ejb-ref-type.

getEjbLink

public java.lang.String getEjbLink()
Get the ejb-link

Returns:
String representation of the ejb-link

getJndiName

public java.lang.String getJndiName()
Get the jndi name of the ejb-ref.

Returns:
String representation of the JNDI name

setJndiName

public void setJndiName(java.lang.String jndiName)
Set the jndi name of the ejb-ref.

Parameters:
jndiName - representation of the JNDI name

toString

public java.lang.String toString()
String representation of the object for test purpose

Returns:
String representation of this object