org.objectweb.jonas_lib.deployment.api
Class EjbRefDesc

java.lang.Object
  extended by org.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 getHome()
           
 java.lang.String getJndiName()
          Get the jndi name of the ejb-ref.
 java.lang.String getRemote()
           
 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)
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.
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

Overrides:
toString in class java.lang.Object
Returns:
String representation of this object

getHome

public java.lang.String getHome()
Returns:
the fully qualified name of the enterprise bean's home interface

getRemote

public java.lang.String getRemote()
Returns:
the fully qualified name of the enterprise bean's remote interface