componentInterface
public String componentInterface()
throws xdoclet.XDocletException Returns the component interface for the current ejb reference
- the fully qualified class name
xdoclet.XDocletException - if an error occures
doGenerate
protected void doGenerate(String template)
throws xdoclet.XDocletException
ejbRefId
public String ejbRefId()
throws xdoclet.XDocletException Returns unique id for the specified ejb-ref. It prefixes it with the referring class's id, then a _ and the id of
the ejb object.
- Description of the Returned Value
xdoclet.XDocletException -
- refactor this properly to account for ejb:bean - it may not be needed anymore.
ejbRefJndiName
public String ejbRefJndiName()
throws xdoclet.XDocletException Returns the global JNDI name for the current EJB ref.
- The JNDI name of current EJB ref.
xdoclet.XDocletException -
findEjb
protected XClass findEjb(String ejbName)
throws xdoclet.XDocletException Finds and returns the class with the specified ejbName. An XDocletException is thrown if not found.
ejbName - Description of Parameter
- Description of the Returned Value
xdoclet.XDocletException -
forAllEjbRefMembers
public void forAllEjbRefMembers(String template,
Properties attributes)
throws xdoclet.XDocletException Evaluates the body block for each method- and field-level ejb reference.
template - The body of the block tagattributes - The attributes of the template tag
xdoclet.XDocletException -
- name = "tagName"
description = "the ejb-ref tag"
default = "ejb.ejb-ref"
forAllEjbRefMethods
public void forAllEjbRefMethods(String template,
Properties attributes)
throws xdoclet.XDocletException Evaluates the body block for each method-level ejb reference.
template - The body of the block tagattributes - The attributes of the template tag
xdoclet.XDocletException -
- name = "tagName"
description = "the ejb-ref tag"
default = "ejb.ejb-ref"
forAllEjbRefs
public void forAllEjbRefs(String template,
Properties attributes)
throws xdoclet.XDocletException Evaluates the body block for each ejb reference.
template - The body of the block tagattributes - The attributes of the template tag
xdoclet.XDocletException -
- name = "tagName"
description = "the ejb-ref tag"
default = "ejb.ejb-ref"
homeInterface
public String homeInterface()
throws xdoclet.XDocletException Returns the home interface for the current ejb reference
- the fully qualified class name
xdoclet.XDocletException - if an error occures
ifLocalEjbRef
public void ifLocalEjbRef(String template)
throws xdoclet.XDocletException Generates code if the ejb-ref is local
xdoclet.XDocletException -
ifRemoteEjbRef
public void ifRemoteEjbRef(String template)
throws xdoclet.XDocletException Generates code if the ejb-ref is local
xdoclet.XDocletException -
isLocalEjbRef
protected boolean isLocalEjbRef(XTag ejbRefTag)
throws xdoclet.XDocletException Return true if the ejb-ref is local
- true if the ejb-ref is local otherwise false
xdoclet.XDocletException -
isRemoteEjbRef
protected boolean isRemoteEjbRef(XTag ejbRefTag)
throws xdoclet.XDocletException Return true if the ejb-ref is remote
- true if the ejb-ref is remote otherwise false
xdoclet.XDocletException -
name
public String name(Properties attributes)
throws xdoclet.XDocletException
storeReferringClassId
protected void storeReferringClassId()
throws xdoclet.XDocletException Stores the id of current EJB for further use by other tags in referringClassId attribute.
xdoclet.XDocletException -
- refactor this properly to take ejb:bean into account - may not be needed anymore.