Package org.omg.ETF

Examples of org.omg.ETF.Factories


        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

        }

        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

        for (Iterator<String> i = factoryClassNames.iterator(); i.hasNext();)
        {
            String className = i.next();

            Factories factories = instantiateFactories(className);
            factoriesMap.put(factories.profile_tag(), factories); // NOPMD
            factoriesList.add (factories);
        }
    }
View Full Code Here

        reply_listener = new NoBiDirServerReplyListener();

        // create all Listeners
        for (Iterator<Factories> i = getListenerFactories().iterator(); i.hasNext();)
        {
             Factories factories = i.next();
             Protocol p = Protocol.mapProfileTag(factories.profile_tag());
             Iterator<ListenEndpoint> it = transport_manager.getListenEndpoints(p).iterator();

             while (it.hasNext())
             {
                 Listener listener = factories.create_listener (null, (short)0, (short)0);
                 ListenEndpoint le = it.next();

                 if (listener instanceof ListenerBase)
                 {
                     ((ListenerBase)listener).setListenEndpoint(le);
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

   public GOA (ORB orb, String name, org.jacorb.poa.POA parent, POAManager manager,
            Policy[] policies)
   {
      super (orb, name, parent, manager, policies);

      Factories f = orb.getTransportManager ().getFactories (TAG_UIPMC.value);
      logger = orb.getConfiguration ().getLogger("org.jacorb.poa");

      if ( f != null)
      {
         listener = (MIOPListener)f.create_listener ((ProtocolProperties)null, 0, (short)0);

         agm = new AGM();
         portTable = new HashMap<byte[], MIOPProfile> ();
      }
   }
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.