1 22 package org.jboss.kernel.plugins.util; 23 24 import java.security.BasicPermission ; 25 26 36 public class KernelLocatorPermission extends BasicPermission 37 { 38 39 private static final long serialVersionUID = 1L; 40 41 48 public KernelLocatorPermission(String name) 49 { 50 this(name, null); 51 } 52 53 61 public KernelLocatorPermission(String name, String actions) 62 { 63 super(name, actions); 64 } 65 66 69 public String toString() 70 { 71 StringBuilder buffer = new StringBuilder (64); 72 buffer.append(getClass().getName()).append(":"); 73 buffer.append(" name=").append(getName()); 74 buffer.append(" actions=").append(getActions()); 75 return buffer.toString(); 76 } 77 78 } 79 | Popular Tags |