Examples of JDBCStateRepository


Examples of org.togglz.core.repository.jdbc.JDBCStateRepository

        try {

            InitialContext context = new InitialContext();
            DataSource dataSource = (DataSource) context.lookup("jboss/datasources/ExampleDS");
            return new JDBCStateRepository(dataSource, "MYTABLE");

        } catch (NamingException e) {
            throw new IllegalArgumentException("Could not find datasource");
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.