org.infinispan.security.actions.GetSystemPropertyAction Maven / Gradle / Ivy
package org.infinispan.security.actions;
import java.security.PrivilegedAction;
/**
* GetSystemPropertyAction.
*
* @author Tristan Tarrant
* @since 8.0
*/
public class GetSystemPropertyAction implements PrivilegedAction {
private final String propertyName;
public GetSystemPropertyAction(String propertyName) {
this.propertyName = propertyName;
}
@Override
public String run() {
return System.getProperty(propertyName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy