Package com.sun.enterprise.web

Examples of com.sun.enterprise.web.ServerConfigLookup


        con = DriverManager.getConnection(connUrl);
    }
   
    public void init() throws SQLException, ClassNotFoundException {

        ServerConfigLookup lookup = new ServerConfigLookup();
        String connUrl = lookup.getConnectionURLFromConfig();
        String password = lookup.getConnectionPasswordFromConfig();
        String user = lookup.getConnectionUserFromConfig();
        //message("connUrl:" + connUrl + " password:" + password + " user:" + user);        
        this.init(connUrl, user, password);

    }    
View Full Code Here


    /**
     * @return The cluster id as defined in domain.xml
     */
    private String getClusterIdFromConfig() {
        ServerConfigLookup lookup = new ServerConfigLookup();

        return lookup.getClusterIdFromConfig();
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.web.ServerConfigLookup

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.