Controller
//Atributos para la interface IController
@Inject
RevisionHistoryRepository revisionHistoryRepository;
@Inject
RevisionHistoryServices revisionHistoryServices;
@Inject
AutoincrementableServices autoincrementableServices;
@Inject
ConfiguracionRepository configuracionRepository; @PostConstruct
public void init() {
loggedIn = false;
recoverSession = false;
userwasLoged = false;
tokenwassend = false;
configuracion = new Configuracion();
JmoordbConnection jmc = new JmoordbConnection.Builder()
.withSecurity(false)
.withDatabase("store")
.withHost("")
.withPort(0)
.withUsername("")
.withPassword("")
.build();
}Last updated