org.objectweb.jonas_ejb.deployment.api
Class EjbLocalRefDesc

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

public class EjbLocalRefDesc
extends java.lang.Object

Class that represents an ejb-local-ref tag.

Author:
Philippe Durieux Contributor(s): Florent Benoit & Ludovic Bert

Constructor Summary
EjbLocalRefDesc(org.objectweb.jonas_ejb.deployment.xml.EjbLocalRef lr)
          Package protected constructor used by API
 
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_ejb.deployment.xml.EjbLocalRef lr)
                throws DeploymentDescException
Package protected constructor used by API
Method Detail

getName

public java.lang.String getName()
Get the name of the ejb-ref
Returns:
String representation of the 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:
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 - an 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