public String getJksPath() { // use the tesing jks we provided by default java.net.URL location = this.getClass().getResource("/ftpserver.jks"); if (location != null){ jksPath = location.getPath(); LOGGER.warn("*** OpenSDI is using the default keystore for the FTP server ***"); } // otherwise look for a jks file in the config folder else{ if(jksPath == null && applicationContext != null){ OpenSDIManagerConfig cf = (OpenSDIManagerConfig)applicationContext.getBean("baseConfig"); if(cf != null){ File confDir = cf.getConfigDir(); jksPath = new File(confDir,"ftpserver.jks").getAbsolutePath(); } } } return jksPath; }
@Override public void initialize(java.net.URL location, ResourceBundle resources) { tbcChefe.setCellValueFactory(new PropertyValueFactory<>("chefe")); tbcNome.setCellValueFactory(new PropertyValueFactory<>("nome")); tbcSigla.setCellValueFactory(new PropertyValueFactory<>("sigla")); chbChefeDep.setItems(FXCollections.observableArrayList(MockServidorDAO.getInstance().buscarTodosServidores())); inicializarForm(); }
@Override public void installProcessCode(String processURI, URL codePackage, boolean replace) { // TODO Auto-generated method stub }
/** * Installs a process code package (jar file) from the specified URL for the process URI * @param processURI URI of process type that this code should be used for * @param codePackage URL of jar containing classes necessary to run the specified method * @param replace if true, old code associated to the same URI will be destroyed */ public void installProcessCode(String processURI, URL codePackage, boolean replace);