Package org.omg.ETF

Examples of org.omg.ETF.Factories


        factoriesList = new ArrayList();

        for (Iterator i = factoryClassNames.iterator(); i.hasNext();)
        {
            String className = (String)i.next();
            Factories factories = instantiateFactories(className);
            factoriesMap.put(new Integer(factories.profile_tag()), factories); // NOPMD
            factoriesList.add (factories);
        }
    }
View Full Code Here


            (ClientConnection)connections.get( profile );

        if (clientConnection == null)
        {
            int tag = profile.tag();
            Factories factories = transport_manager.getFactories (tag);
            if (factories == null)
            {
                throw new BAD_PARAM("No transport plugin for profile tag " + tag);
            }
            GIOPConnection connection =
                giop_connection_manager.createClientGIOPConnection(
                    profile,
                    factories.create_connection (null),
                    request_listener,
                    null );

            clientConnection = new ClientConnection( connection, orb, this,
                                      profile, true );
View Full Code Here

        reply_listener = new NoBiDirServerReplyListener();

        // create all Listeners
        for (Iterator i = getListenerFactories().iterator(); i.hasNext();)
        {
             Factories factories = (Factories)i.next();
             Listener listener = factories.create_listener (null, (short)0, (short)0);
             listener.set_handle(this);
             listeners.add (listener);
        }

        // activate them
View Full Code Here

                {
                    throw new IllegalArgumentException
                        ("could not parse profile tag for listener: " + s
                         + " (should have been a number)");
                }
                Factories factories = transport_manager.getFactories (tag);
                if (factories == null)
                {
                    throw new IllegalArgumentException
                        ("could not find Factories for profile tag: " + tag);
                }
View Full Code Here

            (ClientConnection)connections.get( profile );

        if (c == null)
        {
            int tag = profile.tag();
            Factories factories = transport_manager.getFactories (tag);
            if (factories == null)
            {
                throw new RuntimeException
                    ("No transport plugin for profile tag " + tag);
            }
            GIOPConnection connection =
                giop_connection_manager.createClientGIOPConnection(
                    profile,
                    factories.create_connection (null),
                    request_listener,
                    null );

            c = new ClientConnection( connection, orb, this,
                                      profile, true );
View Full Code Here

        // create all Listeners
        for (Iterator i = getListenerFactories().iterator();
             i.hasNext();)
        {
             Factories f = (Factories)i.next();
             Listener l = f.create_listener (null, (short)0, (short)0);
             l.set_handle(this);
             listeners.add (l);
        }

        // activate them
View Full Code Here

                {
                    throw new RuntimeException
                        ("could not parse profile tag for listener: " + s
                         + " (should have been a number)");
                }
                Factories f = transport_manager.getFactories (tag);
                if (f == null)
                    throw new RuntimeException
                        ("could not find Factories for profile tag: " + tag);
                else
                    result.add(f);
View Full Code Here

            (ClientConnection)connections.get( profile );

        if (clientConnection == null)
        {
            int tag = profile.tag();
            Factories factories = transport_manager.getFactories (tag);
            if (factories == null)
            {
                throw new BAD_PARAM("No transport plugin for profile tag " + tag);
            }
            GIOPConnection connection =
                giop_connection_manager.createClientGIOPConnection(
                    profile,
                    factories.create_connection (null),
                    request_listener,
                    null );

            clientConnection = new ClientConnection( connection, orb, this,
                                      profile, true );
View Full Code Here

        factoriesList = new ArrayList();

        for (Iterator i = factoryClassNames.iterator(); i.hasNext();)
        {
            String className = (String)i.next();
            Factories factories = instantiateFactories(className);
            factoriesMap.put(new Integer(factories.profile_tag()), factories); // NOPMD
            factoriesList.add (factories);
        }
    }
View Full Code Here

            (ClientConnection)connections.get( profile );

        if (clientConnection == null)
        {
            int tag = profile.tag();
            Factories factories = transport_manager.getFactories (tag);
            if (factories == null)
            {
                throw new BAD_PARAM("No transport plugin for profile tag " + tag);
            }
            GIOPConnection connection =
                giop_connection_manager.createClientGIOPConnection(
                    profile,
                    factories.create_connection (null),
                    request_listener,
                    null );

            clientConnection = new ClientConnection( connection, orb, this,
                                      profile, true );
View Full Code Here

TOP

Related Classes of org.omg.ETF.Factories

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.