Examples of Initialize


Examples of org.apache.airavata.registry.api.test.util.Initialize

public class AiravataRegistryAPITest extends TestCase {
    private AiravataRegistry2 registry;
    private  Initialize initialize;
    @Override
    protected void setUp() throws Exception {
        initialize = new Initialize();
        initialize.initializeDB();
        registry = AiravataRegistryFactory.getRegistry(new Gateway("default"), new AiravataUser("admin"));

    }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

         }
         catch (ClassNotFoundException ex)
         {
         }
         catch (Exception ex) {
            throw new INITIALIZE(
               "can't instantiate ORBSingleton implementation " + className);
         }

         ClassLoader cl = Thread.currentThread().getContextClassLoader();
         if (cl == null)
            cl = ClassLoader.getSystemClassLoader();
         try
         {
            delegate = (ORB)Class.forName(className, true, cl).newInstance();
         }
         catch (Exception ex)
         {
            throw new INITIALIZE(
               "can't instantiate ORBSingleton implementation " + className);
         }
      }
   }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

         }
         catch (ClassNotFoundException ex)
         {
         }
         catch (Exception ex) {
            throw new INITIALIZE(
               "can't instantiate ORBSingleton implementation " + className);
         }

         ClassLoader cl = Thread.currentThread().getContextClassLoader();
         if (cl == null)
            cl = ClassLoader.getSystemClassLoader();
         try
         {
            delegate = (ORB)Class.forName(className, true, cl).newInstance();
         }
         catch (Exception ex)
         {
            throw new INITIALIZE(
               "can't instantiate ORBSingleton implementation " + className);
         }
      }
   }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

            }
        }
        catch (Exception ex)
        {
            logger.error ("error initializing ProxyAddress",ex);
            throw new INITIALIZE(ex.toString());
        }

        return address;
    }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

     */
    public org.jacorb.orb.BasicAdapter getBasicAdapter()
    {
        if( basicAdapter == null )
        {
            throw new INITIALIZE("Adapters not initialized; resolve RootPOA.");
        }
        return basicAdapter;
    }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

            {
                if (failOnORBInitializerError)
                {
                    logger.error(initializer.getClass().getName() + ": aborting due to error during ORBInitializer::pre_init", e);

                    throw new INITIALIZE(e.toString());
                }

                logger.warn(initializer.getClass().getName() + ": ignoring error during ORBInitializer::pre_init. the ORBInitializer will be removed from the current configuration", e);
                i.remove();
            }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

            {
                if (failOnORBInitializerError)
                {
                    logger.error(initializer.getClass().getName() + ": aborting due to error during ORBInitializer::pre_init", e);

                    throw new INITIALIZE(e.toString());
                }

                logger.warn(initializer.getClass().getName() + ": ignoring error during ORBInitializer::pre_init. the ORBInitializer will be removed from the current configuration", e);
            }
        }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

            {
                if (failOnORBInitializerError)
                {
                    logger.error("unable to build ORBInitializer from class " + name + ": Aborting", e);

                    throw new INITIALIZE(e.toString());
                }

                logger.warn("unable to build ORBInitializer from class " + name + ": Ignoring");
            }
        }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

            {
                transport_manager.configure(configuration);
            }
            catch( ConfigurationException e )
            {
                throw new INITIALIZE(e.toString());
            }
        }
        return transport_manager;
    }
View Full Code Here

Examples of org.omg.CORBA.INITIALIZE

            out_stream = new IIOPLoopbackOutputStream(lis) ;
            connected = true ;
        }
        catch (final IOException ioe)
        {
            throw new INITIALIZE("Could not create loopback pipe connection");
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.