Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
firmador_estatal
firmador-servidor
Commits
b55efba5
Commit
b55efba5
authored
Mar 20, 2017
by
acq1305
Browse files
creando un servicio
parent
ed882693
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/bo/gob/softwarelibre/firmadorestatal/vista/Run.java
View file @
b55efba5
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package
bo.gob.softwarelibre.firmadorestatal.vista
;
import
bo.gob.softwarelibre.firmadorestatal.servidor.ServidorRest
;
...
...
@@ -15,8 +10,13 @@ import java.util.Properties;
import
sun.security.pkcs11.wrapper.PKCS11Exception
;
/**
* Run Clase que contiene el main para convertir la aplicación en un demonio
* (servicio)
*
* @author: Angel Céspedes Quiroz
* @Skype: acq1305
* @Linkedin: https://bo.linkedin.com/in/acq1305
*
* @author acq1305
*/
public
class
Run
{
...
...
@@ -31,7 +31,7 @@ public class Run {
try
{
GestorSlot
gestorSlot
;
gestorSlot
=
GestorSlot
.
getInstance
();
gestorSlot
.
adicionarProveedor
(
proveedores
(
new
File
(
"token.cfg"
).
getAbsolutePath
()));
gestorSlot
.
adicionarProveedor
(
proveedores
(
new
File
(
"token.cfg"
).
getAbsolutePath
()));
ServidorRest
rest
=
new
ServidorRest
();
rest
.
iniciar
();
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment