|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.MetaData
org.jboss.metadata.OldMetaData<SecurityRoleRefMetaData>
org.jboss.metadata.SecurityRoleRefMetaData
public class SecurityRoleRefMetaData
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.
Field Summary |
---|
Fields inherited from class org.jboss.metadata.MetaData |
---|
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN |
Constructor Summary | |
---|---|
SecurityRoleRefMetaData(SecurityRoleRefMetaData delegate)
Create a new ResourceRefMetaData. |
Method Summary | |
---|---|
static SecurityRoleRefMetaData |
create(SecurityRoleRefMetaData delegate)
Create a new SecurityRoleRefMetaData. |
String |
getDescription()
Get the description |
String |
getLink()
Get the link |
String |
getName()
Get the name |
Methods inherited from class org.jboss.metadata.OldMetaData |
---|
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SecurityRoleRefMetaData(SecurityRoleRefMetaData delegate)
delegate
- the delegate
IllegalArgumentException
- for a null delegateMethod Detail |
---|
public static SecurityRoleRefMetaData create(SecurityRoleRefMetaData delegate)
delegate
- the delegate
IllegalArgumentException
- for a null delegate or an unknown delegatepublic String getName()
public String getLink()
public String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |