Package org.apache.yoko.orb.OCI.IIOP

Examples of org.apache.yoko.orb.OCI.IIOP.ConnectionHelper


        //
        // Parse arguments
        //
        args.value = parse_args(args.value, props);

        ConnectionHelper helper = null;

        try {
            // get the appropriate class for the loading.
            ClassLoader loader = Thread.currentThread().getContextClassLoader();
            if (loader == null) {
                loader = this.getClass().getClassLoader();
            }

            Class c = loader.loadClass(connectionHelper);
            helper = (org.apache.yoko.orb.OCI.IIOP.ConnectionHelper) c.newInstance();
            // give this a chance to initializer
            helper.init(orb, helperArgs);
        } catch (Exception ex) {
            throw new org.omg.CORBA.INITIALIZE("unable to load IIOP ConnectionHelper plug-in `" + connectionHelper + "': " + ex.getMessage());
        }

        return new org.apache.yoko.orb.OCI.IIOP.Plugin_impl(orb, helper);
View Full Code Here


        //
        // Parse arguments
        //
        args.value = parse_args(args.value, props);

        ConnectionHelper helper = null;

        try {
            // get the appropriate class for the loading.
            ClassLoader loader = Thread.currentThread().getContextClassLoader();
            if (loader == null) {
                loader = this.getClass().getClassLoader();
            }

            Class c = loader.loadClass(connectionHelper);
            helper = (org.apache.yoko.orb.OCI.IIOP.ConnectionHelper) c.newInstance();
            // give this a chance to initializer
            helper.init(orb, helperArgs);
        } catch (Exception ex) {
            throw new org.omg.CORBA.INITIALIZE("unable to load IIOP ConnectionHelper plug-in `" + connectionHelper + "': " + ex.getMessage());
        }

        return new org.apache.yoko.orb.OCI.IIOP.Plugin_impl(orb, helper);
View Full Code Here

TOP

Related Classes of org.apache.yoko.orb.OCI.IIOP.ConnectionHelper

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.