FileDocCategorySizeDatePackage
MethodPermission.javaAPI DocJBoss 4.2.12300Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3.metamodel

MethodPermission

public class MethodPermission extends Object
Represents an element of the ejb-jar.xml deployment descriptor for the 1.4 schema
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private static final Logger
log
private List
roleNames
private boolean
isUnchecked
private List
methods
Constructors Summary
Methods Summary
public voidaddMethod(Method method)

      methods.add(method);
   
public voidaddRoleName(java.lang.String roleName)

      roleNames.add(roleName);
   
public java.util.ListgetMethods()

      return methods;
   
public java.util.ListgetRoleNames()

      return roleNames;
   
public booleanisUnchecked()


     
   
      return isUnchecked;
   
public voidsetUnchecked(boolean isUnchecked)

      this.isUnchecked = isUnchecked;
   
public java.lang.StringtoString()

      StringBuffer sb = new StringBuffer(100);
      sb.append("[");
      sb.append("roleNames=").append(roleNames);
      sb.append("]");
      return sb.toString();