Examples of BindingManager


Examples of org.eclipse.jface.bindings.BindingManager

   * The widgets affected by this method are: scheme combo, bindings
   * table/tree model, and the when combo.
   */
  private final void fill() {
    // Make an internal binding manager to track changes.
    localChangeManager = new BindingManager(new ContextManager(),
        new CommandManager());
    final Scheme[] definedSchemes = bindingService.getDefinedSchemes();
    try {
      for (int i = 0; i < definedSchemes.length; i++) {
        final Scheme scheme = definedSchemes[i];
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

    public void testBusGetBindingManager() throws Exception {
       
        Bus bus = Bus.init(null, new HashMap<String, Object>());
        assertNotNull(bus);

        BindingManager bindingManager = bus.getBindingManager();
        assertNotNull(bindingManager);
       
        BindingFactory factory = bindingManager.getBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/");
        assertNotNull(factory);
        //Last Created bus should always be returned.
        Thread.sleep(100);
        bus.shutdown(true);
    }   
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

    public void setUp() throws Exception {
        epfClassName = System.getProperty(Provider.JAXWSPROVIDER_PROPERTY);
        System.setProperty(Provider.JAXWSPROVIDER_PROPERTY,
                           ProviderImpl.JAXWS_PROVIDER);
        bus = Bus.init();
        BindingManager bm = bus.getBindingManager();
        bm.registerBinding(TestBinding.TEST_BINDING, new TestBindingFactory(bus));
        servant = new AnnotatedGreeterImpl();
        endpoint = Endpoint.create(TestBinding.TEST_BINDING, servant);
       

    }
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

    public void setUp() throws Exception {
        epfClassName = System.getProperty(Provider.JAXWSPROVIDER_PROPERTY);
        System.setProperty(Provider.JAXWSPROVIDER_PROPERTY,
                           "org.objectweb.celtix.bus.jaxws.spi.ProviderImpl");
        bus = Bus.init();
        BindingManager bm = bus.getBindingManager();
        bm.registerBinding("http://celtix.objectweb.org/bindings/test", new TestBindingFactory(bus));
        implementor = new DerivedGreeterImpl();
        Endpoint ep = Endpoint.create(TestBinding.TEST_BINDING, implementor);
        ei = (EndpointImpl)ep;
    }
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

        bus = Bus.init(new String[0]);
       
        paramModesClass = Thread.currentThread().getContextClassLoader().loadClass(TEST_CLASS);
       
        // programmatically add the corba binding factory
        BindingManager manager = bus.getBindingManager();
        CorbaBindingFactory corbaBF = new CorbaBindingFactory();
        corbaBF.init(bus);
        manager.registerBinding(CorbaConstants.NU_WSDL_CORBA, corbaBF);
       
        endpoint = testUtils.getParamModesEndpointReference();
        bindingImpl = new CorbaBindingImpl(bus, endpoint, orb, true);
    }
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

   
    public void testGetCorbaAddressType() throws Exception {
        Bus bus = Bus.init();
       
        // programmatically add the corba binding factory
        BindingManager manager = bus.getBindingManager();
        CorbaBindingFactory corbaBF = new CorbaBindingFactory();
        corbaBF.init(bus);
        manager.registerBinding(CorbaConstants.NU_WSDL_CORBA, corbaBF);
       
        EndpointReferenceType endpoint = testUtils.getSimpleTestEndpointReference();
        AddressType address = CorbaUtils.getCorbaAddressType(bus, endpoint);
        assertNotNull(address);                  
    }
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

   
    public void testGetCorbaBindingType() throws Exception {
        Bus bus = Bus.init();
       
        // programmatically add the corba binding factory
        BindingManager manager = bus.getBindingManager();
        CorbaBindingFactory corbaBF = new CorbaBindingFactory();
        corbaBF.init(bus);
        manager.registerBinding(CorbaConstants.NU_WSDL_CORBA, corbaBF);
       
        EndpointReferenceType endpoint = testUtils.getSimpleTestEndpointReference();
        BindingType binding = CorbaUtils.getCorbaBindingType(bus, endpoint);
        assertNotNull(binding);
    }
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

   
    public void testGetCorbaOperationType() throws Exception {
        Bus bus = Bus.init();
       
        // programmatically add the corba binding factory
        BindingManager manager = bus.getBindingManager();
        CorbaBindingFactory corbaBF = new CorbaBindingFactory();
        corbaBF.init(bus);
        manager.registerBinding(CorbaConstants.NU_WSDL_CORBA, corbaBF);
       
        EndpointReferenceType endpoint = testUtils.getSimpleTestEndpointReference();
        String opName = "testSimpleMethod";
        OperationType operation = CorbaUtils.getCorbaOperationType(opName, bus, endpoint);
        assertNotNull(operation);
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

        orb = ORB.init(new String[0], props);

        bus = Bus.init(new String[0]);
       
        // programmatically add the corba binding factory
        BindingManager manager = bus.getBindingManager();
        CorbaBindingFactory corbaBF = new CorbaBindingFactory();
        corbaBF.init(bus);
        manager.registerBinding(CorbaConstants.NU_WSDL_CORBA, corbaBF);

    }
View Full Code Here

Examples of org.objectweb.celtix.bindings.BindingManager

        props.put("yoko.orb.id", "Yoko-Test");
        orb = ORB.init(new String[0], props);
        bus = Bus.init(new String[0]);
       
        // programmatically add the corba binding factory
        BindingManager manager = bus.getBindingManager();
        CorbaBindingFactory corbaBF = new CorbaBindingFactory();
        corbaBF.init(bus);
        manager.registerBinding(CorbaConstants.NU_WSDL_CORBA, corbaBF);
       
        endpoint = testUtils.getNestedEndpointReference();
        bindingImpl = new CorbaBindingImpl(bus, endpoint, orb, false);
    }
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.