org.jboss.metadata
Class SecurityRoleRefMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData (src) 
      extended byorg.jboss.metadata.SecurityRoleRefMetaData
All Implemented Interfaces:
java.lang.Cloneable, XmlLoadable (src)

public class SecurityRoleRefMetaData
extends MetaData (src)

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’s 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


Field Summary
 
Fields inherited from class org.jboss.metadata.MetaData (src)
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
SecurityRoleRefMetaData()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getLink()
           
 java.lang.String getName()
           
 void importEjbJarXml(org.w3c.dom.Element element)
          Non-operation.
 
Methods inherited from class org.jboss.metadata.MetaData (src)
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importJbossXml, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityRoleRefMetaData

public SecurityRoleRefMetaData()
Method Detail

getName

public java.lang.String getName()

getLink

public java.lang.String getLink()

getDescription

public java.lang.String getDescription()

importEjbJarXml

public void importEjbJarXml(org.w3c.dom.Element element)
                     throws DeploymentException (src) 
Description copied from class: MetaData (src)
Non-operation.

Overrides:
importEjbJarXml in class MetaData (src)
Parameters:
element -
Throws:
DeploymentException (src)