Package org.apache.yoko.orb.OB

Examples of org.apache.yoko.orb.OB.Logger


        }

        msg += "\n";
        msg += info.describe_exception();

        Logger logger = ((org.apache.yoko.orb.CORBA.ORB) orb_).logger();
        logger.warning(msg);
    }
View Full Code Here


                message += desc;
            } else {
                message += "\nCollocated method call";
            }

            Logger logger = orbInstance_.getLogger();
            logger.warning(message);

            return;
        }

        try {
View Full Code Here

        case org.omg.GIOP.LocateStatusType_1_2._OBJECT_FORWARD:
            try {
                org.omg.IOP.IOR ior = org.omg.IOP.IORHelper.read(in);
                down.setLocationForward(ior, false);
            } catch (org.omg.CORBA.SystemException ex) {
                Logger logger = orbInstance_.getLogger();
                logger
                        .warning("An error occurred while reading a "
                                + "locate reply, possibly indicating\n"
                                + "an interoperability problem. You may "
                                + "need to set the LocateRequestPolicy\n"
                                + "to false.");
                down.setSystemException(ex);
                processException(State.Error, ex, false);
            }
            break;

        case org.omg.GIOP.LocateStatusType_1_2._OBJECT_FORWARD_PERM:
            try {
                org.omg.IOP.IOR ior = org.omg.IOP.IORHelper.read(in);
                down.setLocationForward(ior, true);
            } catch (org.omg.CORBA.SystemException ex) {
                Logger logger = orbInstance_.getLogger();
                logger
                        .warning("An error occurred while reading a "
                                + "locate reply, possibly indicating\n"
                                + "an interoperability problem. You may "
                                + "need to set the LocateRequestPolicy\n"
                                + "to false.");
View Full Code Here

                msg += desc;
            } else {
                msg += "\nCollocated method call";
            }

            Logger logger = orbInstance_.getLogger();
            logger.warning(msg);

            return;
        }

        org.apache.yoko.orb.CORBA.OutputStream out = upcall.output();
View Full Code Here

                // a standard format: org.apache.yoko.orb.OCI.<name>
                //
                className = "org.apache.yoko.orb.OCI." + name;
            }

            Logger logger = oborb.logger();

            //
            // Load the class
            //
            org.apache.yoko.orb.OCI.PluginInit pi = 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(className);
                pi = (org.apache.yoko.orb.OCI.PluginInit) c.newInstance();
            } catch (org.omg.CORBA.SystemException ex) {
                throw ex;
            } catch (Exception ex) {
                String err = "unable to load OCI plug-in `" + name + "':\n"
                        + ex.getMessage();
                logger.error(err);
                return null;
            }

            //
            // Invoke the version function, which allows the plug-in
View Full Code Here

                message += desc;
            } else {
                message += "\nCollocated method call";
            }

            Logger logger = orbInstance_.getLogger();
            logger.warning(message);

            return;
        }

        try {
View Full Code Here

        case org.omg.GIOP.LocateStatusType_1_2._OBJECT_FORWARD:
            try {
                org.omg.IOP.IOR ior = org.omg.IOP.IORHelper.read(in);
                down.setLocationForward(ior, false);
            } catch (org.omg.CORBA.SystemException ex) {
                Logger logger = orbInstance_.getLogger();
                logger
                        .warning("An error occurred while reading a "
                                + "locate reply, possibly indicating\n"
                                + "an interoperability problem. You may "
                                + "need to set the LocateRequestPolicy\n"
                                + "to false.");
                down.setSystemException(ex);
                processException(State.Error, ex, false);
            }
            break;

        case org.omg.GIOP.LocateStatusType_1_2._OBJECT_FORWARD_PERM:
            try {
                org.omg.IOP.IOR ior = org.omg.IOP.IORHelper.read(in);
                down.setLocationForward(ior, true);
            } catch (org.omg.CORBA.SystemException ex) {
                Logger logger = orbInstance_.getLogger();
                logger
                        .warning("An error occurred while reading a "
                                + "locate reply, possibly indicating\n"
                                + "an interoperability problem. You may "
                                + "need to set the LocateRequestPolicy\n"
                                + "to false.");
View Full Code Here

                msg += desc;
            } else {
                msg += "\nCollocated method call";
            }

            Logger logger = orbInstance_.getLogger();
            logger.warning(msg);

            return;
        }

        org.apache.yoko.orb.CORBA.OutputStream out = upcall.output();
View Full Code Here

        }

        msg += "\n";
        msg += info.describe_exception();

        Logger logger = ((org.apache.yoko.orb.CORBA.ORB) orb_).logger();
        logger.warning(msg);
    }
View Full Code Here

                // a standard format: org.apache.yoko.orb.OCI.<name>
                //
                className = "org.apache.yoko.orb.OCI." + name;
            }

            Logger logger = oborb.logger();

            //
            // Load the class
            //
            org.apache.yoko.orb.OCI.PluginInit pi = 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(className);
                pi = (org.apache.yoko.orb.OCI.PluginInit) c.newInstance();
            } catch (org.omg.CORBA.SystemException ex) {
                throw ex;
            } catch (Exception ex) {
                String err = "unable to load OCI plug-in `" + name + "':\n"
                        + ex.getMessage();
                logger.error(err);
                return null;
            }

            //
            // Invoke the version function, which allows the plug-in
View Full Code Here

TOP

Related Classes of org.apache.yoko.orb.OB.Logger

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.