1 package javax.xml.bind; 2 3 import java.security.PrivilegedAction ; 4 5 9 final class GetPropertyAction implements PrivilegedAction <String > { 10 private final String propertyName; 11 12 public GetPropertyAction(String propertyName) { 13 this.propertyName = propertyName; 14 } 15 16 public String run() { 17 return System.getProperty(propertyName); 18 } 19 } 20 | Popular Tags |