org.objectweb.jonas_lib.deployment.api
Class EjbLocalRefDesc

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.api.EjbLocalRefDesc

public class EjbLocalRefDesc
extends java.lang.Object

This class represents the description of an EjblocalRef object

Author:
Christophe Ney, Florent Benoit

Constructor Summary
EjbLocalRefDesc(EjbLocalRef ejbLocalRef)
          Construct a descriptor for an ejb-local-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 getJndiLocalName()
          Get the jndi name of the ejb-local-ref.
 java.lang.String getLocal()
          Get the Local class of the target bean
 java.lang.String getLocalHome()
          Get the LocalHome class of the target bean
 void setJndiLocalName(java.lang.String jndiName)
          Set the jndi name of the ejb-local-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

EjbLocalRefDesc

public EjbLocalRefDesc(EjbLocalRef ejbLocalRef)
                throws DeploymentDescException
Construct a descriptor for an ejb-local-ref tag.

Parameters:
ejbLocalRef - the ejb local ref resulting of the xml parsing.
Throws:
DeploymentDescException - when missing information for creating the EjbLocalRefDesc.
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.

getLocalHome

public java.lang.String getLocalHome()
Get the LocalHome class of the target bean

Returns:
String representation of the class.

getLocal

public java.lang.String getLocal()
Get the Local class of the target bean

Returns:
String representation of the class.

getEjbLink

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

Returns:
String representation of the ejb-link

getJndiLocalName

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

Returns:
the string representation of the JNDI name

setJndiLocalName

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

Parameters:
jndiName - the 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