xdoclet.modules.ejb.dd
Class SecurityTagsHandler
java.lang.Object
xdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.ejb.EjbTagsHandler
xdoclet.modules.ejb.dd.SecurityTagsHandler
- public class SecurityTagsHandler
- extends EjbTagsHandler
- Version:
- $Revision: 1.7 $
- Author:
- Ara Abrahamian (ara_e@email.com)
- xdoclet.taghandler
- namespace="EjbSec"
- created
- Oct 15, 2001
Field Summary |
protected String |
currentSecurityRoleName
The current security role name, set by forAllSecurityRoles and returned by securityRoleName. |
Method Summary |
void |
forAllSecurityRoles(String template)
Evaluates the body block for each ejb:permission defined in class level or method level. |
String |
securityRoleName()
Returns current security role name set by the containing forAllSecurityRoles. |
Methods inherited from class xdoclet.modules.ejb.EjbTagsHandler |
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 |
Methods inherited from class xdoclet.XDocletTagSupport |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentSecurityRoleName
protected transient String currentSecurityRoleName
- The current security role name, set by forAllSecurityRoles and returned by securityRoleName. It somehow is like
the current index for the forAllSecurityRoles loop.
- See Also:
forAllSecurityRoles(java.lang.String)
,
securityRoleName()
SecurityTagsHandler
public SecurityTagsHandler()
securityRoleName
public String securityRoleName()
throws XDocletException
- Returns current security role name set by the containing forAllSecurityRoles.
- Returns:
- Current security role name
- Throws:
XDocletException
- See Also:
forAllSecurityRoles(java.lang.String)
- doc.tag
- type="content"
forAllSecurityRoles
public void forAllSecurityRoles(String template)
throws XDocletException
- Evaluates the body block for each ejb:permission defined in class level or method level.
- Parameters:
template
- The body of the block tag
- Throws:
XDocletException
- See Also:
#hasPermission(xjavadoc.XDoc)
,
securityRoleName()
- doc.tag
- type="block"