Package org.apache.yoko.bindings.corba

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


    private ServiceInfo service;
   
    public CorbaInInterceptor() {
        super();
        setPhase(Phase.UNMARSHAL);
        corbaStaxObject = new CorbaStaxObject();
    }
View Full Code Here


        Exchange exchange = message.getExchange();
        orb = (ORB)exchange.get(ORB.class);
        if (corbaStaxObject != null) {
            corbaStaxObject.setOrb(orb);
        } else {
            corbaStaxObject = new CorbaStaxObject(orb);
        }

        String opName = message.getExchange().get(String.class);
        Iterator i = bInfo.getOperations().iterator();
View Full Code Here

       
        orb = (org.omg.CORBA.ORB) message.get(CorbaConstants.ORB)
        if (corbaStaxObject != null) {
            corbaStaxObject.setOrb(orb);
        } else {
            corbaStaxObject = new CorbaStaxObject(orb);
        }
        if (message.getStreamableException() != null) {
            Endpoint ep = message.getExchange().get(Endpoint.class);
            message.getInterceptorChain().abort();
            if (ep.getInFaultObserver() != null) {
View Full Code Here

    protected CorbaStaxObject corbaStaxObject;   
   
    public CorbaFaultOutInterceptor() {
        super();
        setPhase(Phase.MARSHAL);
        corbaStaxObject = new CorbaStaxObject();
    }
View Full Code Here

    public void handleMessage(Message msg) {
        try {
            CorbaMessage message = (CorbaMessage) msg;
            orb = (org.omg.CORBA.ORB) message.get(CorbaConstants.ORB);
            corbaStaxObject = new CorbaStaxObject(orb);
            Exchange exchange = message.getExchange();
            typeMaps = new ArrayList<CorbaTypeMap>();

            service = exchange.get(ServiceInfo.class);
            List<TypeMappingType> corbaTypes = service.getDescription().getExtensors(TypeMappingType.class);
View Full Code Here

    public CorbaFaultInInterceptor() {
        super();
        setPhase(Phase.UNMARSHAL);
        addAfter(ClientFaultConverter.class.getName());
        corbaStaxObject = new CorbaStaxObject();     
    }   
View Full Code Here

        control.verify();   
    }
   
    public void testprepareDIIArgsList() throws Exception {                       
        CorbaInInterceptor inInterceptor = new CorbaInInterceptor();
        CorbaStaxObject corbaStaxObject = new CorbaStaxObject();
        Message msg = new MessageImpl();
        CorbaMessage message = new CorbaMessage(msg);
        List<CorbaTypeMap> typeMaps = new ArrayList<CorbaTypeMap>();
        CorbaDestination destination = testUtils.getExceptionTypesTestDestination();
        ServiceInfo service = destination.getBindingInfo().getService();       
        List<TypeMappingType> corbaTypes = service.getDescription().getExtensors(TypeMappingType.class);
        if (corbaTypes != null) {
            CorbaUtils.createCorbaTypeMap(typeMaps, corbaTypes);
            corbaStaxObject.setTypeMaps(typeMaps);
        }
       
        QName name = new QName("http://schemas.apache.org/idl/except", "review_data", "");
        BindingInfo bInfo = destination.getBindingInfo();
        BindingOperationInfo bopInfo = bInfo.getOperation(name);       
View Full Code Here

TOP

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

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.