Package org.apache.springcfg.handlers.types

Examples of org.apache.springcfg.handlers.types.AddNumbers


            if (payload instanceof JAXBElement) {
                value = ((JAXBElement)payload).getValue();
            }

            if (value instanceof AddNumbers) {
                AddNumbers req = (AddNumbers)value;

                int a = req.getArg0();
                req.setArg0(a * 10);
                msg.setPayload(payload, jaxbContext);
            }
            return true;
        } catch (JAXBException ex) {
            throw new ProtocolException(ex);
View Full Code Here

TOP

Related Classes of org.apache.springcfg.handlers.types.AddNumbers

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.