backend.services.StarterSingletonBean Maven / Gradle / Ivy
/*
* 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 backend.services;
import backend.session.Neo4jSessionFactory;
import javax.annotation.PostConstruct;
import javax.ejb.Singleton;
/**
*
* @author zua
*/
@Singleton
public class StarterSingletonBean {
// Add business logic below. (Right-click in editor and choose
// "Insert Code > Add Business Method")
@PostConstruct
private void init() {
Neo4jSessionFactory sessionFactory = Neo4jSessionFactory.getInstance();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy