Package org.apache.openjpa.trader.service

Examples of org.apache.openjpa.trader.service.MockTradingService


    public void init(ServletConfig config) throws ServletException {
        super.init(config);
        String unit = config.getInitParameter("persistence.unit");
        String mock = config.getInitParameter("mock");
        String serverTrace = config.getInitParameter("server-side-stacktrace");
        _del = ("true".equalsIgnoreCase(mock)) ? new MockTradingService() : new Exchange(unit);
        _translator.setPrintServerSideStackTrace("true".equalsIgnoreCase(serverTrace));
    }
View Full Code Here

TOP

Related Classes of org.apache.openjpa.trader.service.MockTradingService

Copyright © 2018 www.massapicom. 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.