org.objectweb.jonas_ejb.deployment.api
Class EjbRefDesc

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.deployment.api.EjbRefDesc

public class EjbRefDesc
extends java.lang.Object

Class that represents an ejb-ref and jonas-ejb-ref tags. Only ejb-name and jndi-name are used in Jonas.

Author:
Christophe Ney

Method Summary
 java.lang.String getEjbLink()
          Get the ejb-link.
 java.lang.String getJndiName()
          Get the jndi name of the ejb-ref.
 java.lang.String getName()
          Get the 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
 

Method Detail

getName

public java.lang.String getName()
Get the name of the ejb-ref
Returns:
String representation of the name.

getEjbLink

public java.lang.String getEjbLink()
Get the ejb-link. The value may be null when a jonas-ejb-ref is specified.
Returns:
String representation of the ejb-link

getJndiName

public java.lang.String getJndiName()
Get the jndi name of the ejb-ref. The value may be null when an ejb-link is specified.
Returns:
String representation of the JNDI name

toString

public java.lang.String toString()
String representation of the object for test purpose
Overrides:
toString in class java.lang.Object
Returns:
String representation of this object