xdoclet.modules.ibm.websphere.ejb

Class WebSphereEjbRefTagsHandler

public class WebSphereEjbRefTagsHandler extends EnvEjbRefTagsHandler

Version: $Revision 1.1 $

Author: Magnus Larsson

UNKNOWN: Dec 26, 2004 namespace = "WebSphereEjbRef"

Method Summary
StringejbRefJndiName()
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 Detail

ejbRefJndiName

public 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. 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: XDocletException

UNKNOWN: type = "content"