Package com.sun.scn.client.comm

Examples of com.sun.scn.client.comm.RegistrationWrapper


     * Main entry point for application server code doing registry
     * @param localRepositoryFile a File object for the local repository file
     */
    public SysnetRegistrationService(File localRepositoryFile) {
        this.localRepositoryFile = localRepositoryFile;
        regWrapper = new RegistrationWrapper(getDefaultRegistrationID());
    }
View Full Code Here


     * @param localRepositoryFile a File object for the local repository file
     * @param registrationID registration identifier
     */
    public SysnetRegistrationService(File localRepositoryFile, String registrationID) {
        this.localRepositoryFile = localRepositoryFile;
        regWrapper = new RegistrationWrapper(registrationID);
    }
View Full Code Here

     * @param proxyHost proxyhost name used to connect to internet
     * @param proxyPort proxy port number used to connect to internet
     */
    public SysnetRegistrationService(File localRepositoryFile, String proxyHost, int proxyPort) {
        this.localRepositoryFile = localRepositoryFile;
        regWrapper = new RegistrationWrapper(getDefaultRegistrationID(), proxyHost, proxyPort);
    }
View Full Code Here

     * @param proxyHost proxyhost name used to connect to internet
     * @param proxyPort proxy port number used to connect to internet
     */
    public SysnetRegistrationService(File localRepositoryFile, String proxyHost, int proxyPort, String registrationID) {
        this.localRepositoryFile = localRepositoryFile;
        regWrapper = new RegistrationWrapper(registrationID, proxyHost, proxyPort);
    }
View Full Code Here

    }


    public SysnetRegistrationService(Object[] params) {
        this.localRepositoryFile = (File)params[0];
        regWrapper = new RegistrationWrapper(getDefaultRegistrationID(),
                (String)params[1], ((Integer)params[2]).intValue());
    }
View Full Code Here

    public SysnetRegistrationService(RegistrationServiceConfig rc) {
        Object[] params = rc.getParams();
        this.localRepositoryFile = (File)params[0];
        if (params.length == 1) {
            regWrapper = new RegistrationWrapper(getDefaultRegistrationID());
        }
        else if (params.length ==2) { //filename, registrationid is passed
            regWrapper = new RegistrationWrapper((String)params[1]);
        }
        else if (params.length == 3) { //filename, host, port
            regWrapper = new RegistrationWrapper((String)params[1],
                (String)(rc.getParams()[1]),
                ((Integer)(rc.getParams()[2])).intValue());
        }
        else { // filename, host, port, registrationid
            regWrapper = new RegistrationWrapper(
                (String)(rc.getParams()[3])
                (String)(rc.getParams()[1]),
                ((Integer)(rc.getParams()[2])).intValue());
        }
    }
View Full Code Here

TOP

Related Classes of com.sun.scn.client.comm.RegistrationWrapper

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.