org.objectweb.jonas_web.deployment.api
Class EjbLocalRefDesc

java.lang.Object
  |
  +--org.objectweb.jonas_web.deployment.api.EjbLocalRefDesc

public class EjbLocalRefDesc
extends java.lang.Object

Class that represents an ejb-local-ref tag.

Author:
Ludovic Bert, Florent Benoit

Constructor Summary
EjbLocalRefDesc(org.objectweb.jonas_web.deployment.xml.EjbLocalRef lr)
          Construct a descriptor for an ejb-local-ref tag.
 
Method Summary
 java.lang.String getEjbLink()
          Get the ejb-link
 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
 java.lang.String getName()
          Get the name of the ejb-ref
 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(org.objectweb.jonas_web.deployment.xml.EjbLocalRef lr)
                throws WebContainerDeploymentDescException
Construct a descriptor for an ejb-local-ref tag.
Parameters:
lr - the ejb local ref resulting of the xml parsing.
Throws:
WebContainerDeploymentDescException - when missing information for creating the EjbLocalRefDesc.
Method Detail

getName

public java.lang.String getName()
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