org.apache.openejb.jee
Class MethodPermission
java.lang.Object
org.apache.openejb.jee.MethodPermission
public class MethodPermission
- extends Object
ejb-jar_3_1.xsd
Java class for method-permissionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="method-permissionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<choice>
<element name="role-name" type="{http://java.sun.com/xml/ns/javaee}role-nameType" maxOccurs="unbounded"/>
<element name="unchecked" type="{http://java.sun.com/xml/ns/javaee}emptyType"/>
</choice>
<element name="method" type="{http://java.sun.com/xml/ns/javaee}methodType" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
protected TextMap description
roleName
protected List<String> roleName
unchecked
protected Empty unchecked
method
protected List<Method> method
id
protected String id
MethodPermission
public MethodPermission()
MethodPermission
public MethodPermission(String className,
String ejbName,
String methodName,
String... roles)
MethodPermission
public MethodPermission(String ejbName,
Method method,
String... roles)
MethodPermission
public MethodPermission(Method method,
String... roles)
setUnchecked
public MethodPermission setUnchecked()
getDescriptions
public Text[] getDescriptions()
setDescriptions
public void setDescriptions(Text[] text)
getDescription
public String getDescription()
getRoleName
public List<String> getRoleName()
getUnchecked
public boolean getUnchecked()
setUnchecked
public void setUnchecked(boolean b)
getMethod
public List<Method> getMethod()
getId
public String getId()
setId
public void setId(String value)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.