Advertisement
mugitus

Untitled

Apr 25th, 2018
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.51 KB | None | 0 0
  1. public class OntospaceMachinePropertyConfig implements PropertyFileConfig, Serializable {
  2.  
  3.     private static final long serialVersionUID = 6149976176173590809L;
  4.    
  5.     private static final String WF_CONFIG_DIR = "jboss.server.config.dir";
  6.    
  7.     private static final String CONFIG_FILE_NAME = "ontospace-machine.properties";
  8.  
  9.     @Override
  10.     public String getPropertyFileName() {
  11.         return System.getProperty(WF_CONFIG_DIR) + "/" + CONFIG_FILE_NAME;
  12.     }
  13.  
  14.     @Override
  15.     public boolean isOptional() {
  16.         return false;
  17.     }
  18.  
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement