xdoclet.modules.ibm.websphere.ejb

Class WebSphereEjbRefTagsHandler


public class WebSphereEjbRefTagsHandler
extends EnvEjbRefTagsHandler

Version:
$Revision 1.1 $
Author:
Magnus Larsson
xdoclet.taghandler
namespace = "WebSphereEjbRef"
created
Dec 26, 2004

Method Summary

String
ejbRefJndiName()
Returns the global JNDI name for the current EJB ref.
WebSphere can only can have one global JNDI name for an EJB bean even if it expose both a local and a remote interface.

Method Details

ejbRefJndiName

public String ejbRefJndiName()
            throws xdoclet.XDocletException
Returns the global JNDI name for the current EJB ref.
WebSphere can only can have one global JNDI name for an EJB bean even if it expose both a local and a remote interface. In this case we return the remote JNDI-name defined on the bean.

NOTE: This means that the local JNDI-name will not be used by WebSphere if both a local and a remote interface is exposed on a EJB bean. For portability (with other J2EE servers) reasons you should however always specify both jndi-names in this case.

Returns:
The JNDI name of current EJB ref.
Throws:
xdoclet.XDocletException -
doc.tag
type = "content"