All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.security.actions.GetSystemPropertyAction Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
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