当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
SecurityRoleRefMetaData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.metadata
Class SecurityRoleRefMetaData
java.lang.Object
org.jboss.metadata.MetaData
org.jboss.metadata.SecurityRoleRefMetaData
- All Implemented Interfaces:
- Cloneable, XmlLoadable
- public class SecurityRoleRefMetaData
- extends MetaData
The metadata object for the security-role-ref element.
The security-role-ref element contains the declaration of a security
role reference in the enterprise bean锟絪 code. The declaration con-sists
of an optional description, the security role name used in the
code, and an optional link to a defined security role.
The value of the role-name element must be the String used as the
parameter to the EJBContext.isCallerInRole(String roleName) method.
The value of the role-link element must be the name of one of the
security roles defined in the security-role elements.
Used in: entity and session
- Version:
- $Revision: 1.6 $
- Author:
- Sebastien Alborini, Scott Stark.
Methods inherited from class org.jboss.metadata.MetaData |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importJbossXml, importXml, jdk13Enabled |
SecurityRoleRefMetaData
public SecurityRoleRefMetaData()
getName
public String getName()
getLink
public String getLink()
getDescription
public String getDescription()
importEjbJarXml
public void importEjbJarXml(Element element)
throws org.jboss.deployment.DeploymentException
- Description copied from class:
MetaData
- Non-operation.
- Overrides:
importEjbJarXml
in class MetaData
- Parameters:
element
-
- Throws:
org.jboss.deployment.DeploymentException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.