xdoclet.modules.ejb.dd
EnvEjbRefTagsHandler
public class EjbRefTagsHandler extends EjbTagsHandler
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
referringClassId
Deprecated.
The id of the EJB referencing another EJB, used for setting up a correct unique id for the ejb-ref.
|
ALL, LOCAL_SUFFIX, SERVICE_ENDPOINT, SERVICE_ENDPOINT_SUFFIX
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
EjbRefTagsHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ejbRefId()
Deprecated.
Returns unique id for the specified ejb-ref.
|
java.lang.String |
ejbRefJndiName()
Deprecated.
Returns the global JNDI name for the current EJB ref.
|
protected xjavadoc.XClass |
findEjb(java.lang.String ejbName)
Deprecated.
Finds and returns the class with the specified ejbName.
|
void |
forAllEjbRefs(java.lang.String template,
java.util.Properties attributes)
Deprecated.
Evaluates the body block for each ejb:ejb-ref defined for the EJB.
|
void |
ifLocalEjbRef(java.lang.String template)
Deprecated.
Generates code if the ejb-ref is local
|
void |
ifRemoteEjbRef(java.lang.String template)
Deprecated.
Generates code if the ejb-ref is local
|
protected boolean |
isLocalEjbRef(xjavadoc.XTag ejbRefTag)
Deprecated.
Return true if the ejb-ref is local
|
protected boolean |
isRemoteEjbRef(xjavadoc.XTag ejbRefTag)
Deprecated.
Return true if the ejb-ref is remote
|
protected void |
storeReferringClassId()
Deprecated.
Stores the id of current EJB for further use by other tags in referringClassId attribute.
|
beanType, choosePackage, concreteFullClassName, ejbExternalRefName, ejbName, ejbRefName, ejbRefName, extendsFromFor, forAllBeans, getDependentClassFor, getDependentClassTagName, getEjb, getEjbIdFor, getEjbNameFor, getEjbSpec, getShortEjbNameFor, hasTransaction, id, ifIsAConcreteEJBean, ifLocalEjb, ifNotLocalEjb, ifNotRemoteEjb, ifNotServiceEndpointEjb, ifRemoteEjb, ifServiceEndpointEjb, isAConcreteEJBean, isEjb, isLocalEjb, isOnlyLocalEjb, isOnlyRemoteEjb, isOnlyServiceEndpointEjb, isRemoteEjb, isServiceEndpointEjb, prefixWithEjbSlash, shortEjbName, shouldTraverseSuperclassForDependentClass, symbolicClassName
delimit, expandClassName, generate, getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getDocletContext, getEngine, getExpandedDelimitedTagValue, getTagValue, getTagValue, getTagValue, hasHavingClassTag, hasTag, isTagValueEqual, mandatoryParamNotFound, mandatoryTemplateTagParamNotFound, modifiers, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
getXJavaDoc, setXJavaDoc
protected transient java.lang.String referringClassId
public java.lang.String ejbRefId() throws XDocletException
XDocletException
public void forAllEjbRefs(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- The attributes of the template tagXDocletException
public java.lang.String ejbRefJndiName() throws XDocletException
XDocletException
public void ifLocalEjbRef(java.lang.String template) throws XDocletException
template
- XDocletException
public void ifRemoteEjbRef(java.lang.String template) throws XDocletException
template
- XDocletException
protected boolean isLocalEjbRef(xjavadoc.XTag ejbRefTag) throws XDocletException
ejbRefTag
- XDocletException
protected boolean isRemoteEjbRef(xjavadoc.XTag ejbRefTag) throws XDocletException
ejbRefTag
- XDocletException
protected void storeReferringClassId() throws XDocletException
XDocletException
protected xjavadoc.XClass findEjb(java.lang.String ejbName) throws XDocletException
ejbName
- Description of ParameterXDocletException