Package org.apache.yoko.bindings.corba

Examples of org.apache.yoko.bindings.corba.CorbaBindingImpl


            }
        }
    }
   
    public void testCreateTypeHandler() {
        CorbaBindingImpl bindingImpl = new CorbaBindingImpl(bus,
                                                            testUtils.getComplexTypesEndpointReference(),
                                                            orb,
                                                            false);
        QName objName = null;
        QName objIdlType = null;
        CorbaObjectHandler result = null;
        List<CorbaTypeMap> typeMaps = bindingImpl.getCorbaTypeMaps();
       
        // Test for an array handler
        objName = new QName("object");
        objIdlType = new QName(complexTypesNamespaceURI, "TestArray", complexTypesPrefix);
        result = CorbaHandlerUtils.createTypeHandler(orb, objName, objIdlType, typeMaps);
View Full Code Here


        result = CorbaHandlerUtils.createTypeHandler(orb, objName, objIdlType, typeMaps);
        assertTrue(result instanceof CorbaUnionHandler);
    }
   
    public void testInitializeObjectHandler() {
        CorbaBindingImpl bindingImpl = new CorbaBindingImpl(bus,
                                                            testUtils.getComplexTypesEndpointReference(),
                                                            orb,
                                                            false);
        QName objName = null;
        QName objIdlType = null;
        CorbaObjectHandler result = null;
        List<CorbaTypeMap> typeMaps = bindingImpl.getCorbaTypeMaps();

        // Test for an array handler
        objName = new QName("object");
        objIdlType = new QName(complexTypesNamespaceURI, "TestArray", complexTypesPrefix);
        result = CorbaHandlerUtils.initializeObjectHandler(orb, objName, objIdlType, typeMaps);
View Full Code Here

TOP

Related Classes of org.apache.yoko.bindings.corba.CorbaBindingImpl

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.