geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/ejb MethodPermission.java
Date Wed, 01 Oct 2003 03:22:28 GMT
adc         2003/09/30 20:22:28

  Modified:    modules/core/src/java/org/apache/geronimo/deployment/model/ejb
                        MethodPermission.java
  Log:
  Changed the cardinality of role names.
  
  Revision  Changes    Path
  1.2       +12 -4     incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/ejb/MethodPermission.java
  
  Index: MethodPermission.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/ejb/MethodPermission.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MethodPermission.java	2 Sep 2003 17:04:19 -0000	1.1
  +++ MethodPermission.java	1 Oct 2003 03:22:28 -0000	1.2
  @@ -61,15 +61,23 @@
    * @version $Revision$ $Date$
    */
   public class MethodPermission extends MethodConfiguration {
  -    private String roleName;
  +    private String[] roleName = new String[0];
       private boolean unchecked;
   
  -    public String getRoleName() {
  +    public String[] getRoleName() {
           return roleName;
       }
   
  -    public void setRoleName(String roleName) {
  +    public String getRoleName(int i) {
  +        return roleName[i];
  +    }
  +
  +    public void setRoleName(String[] roleName) {
           this.roleName = roleName;
  +    }
  +
  +    public void setRoleName(int i, String roleName) {
  +        this.roleName[i] = roleName;
       }
   
       public boolean isUnchecked() {
  
  
  

Mime
View raw message