Package org.logicblaze.lingo

Examples of org.logicblaze.lingo.SimpleMetadataStrategy


        }
        if (marshaller == null) {
            marshaller = new DefaultMarshaller();
        }
        if (metadataStrategy == null) {
            metadataStrategy = new SimpleMetadataStrategy(true);
        }
        if (invocationFactory == null) {
            invocationFactory = new LingoRemoteInvocationFactory(metadataStrategy);
        }
    }
View Full Code Here


     * configured
     *
     * @return
     */
    protected MetadataStrategy createMetadataStrategy() {
        return new SimpleMetadataStrategy();
    }
View Full Code Here

        subscribeToQueue(exporter, getDestinationName());

        pfb = new JmsProxyFactoryBean();
        pfb.setServiceInterface(ExampleService.class);
        pfb.setServiceUrl("http://myurl");
        pfb.setRemoteInvocationFactory(new LingoRemoteInvocationFactory(new SimpleMetadataStrategy(true)));
        pfb.setRequestor(createRequestor(getDestinationName()));
        configure(pfb);
       
        ExampleService proxy = (ExampleService) pfb.getObject();
View Full Code Here

        pfb = new JmsProxyFactoryBean();
        pfb.setServiceInterface(ITestBean.class);
        pfb.setServiceUrl("http://myurl");
        pfb.setRequestor(createRequestor(getDestinationName()));
        pfb.setRemoteInvocationFactory(new LingoRemoteInvocationFactory(new SimpleMetadataStrategy(true)));
        configure(pfb);

        ITestBean proxy = (ITestBean) pfb.getObject();
        assertEquals("myname", proxy.getName());
        assertEquals(99, proxy.getAge());
View Full Code Here

    protected void configure(JmsProxyFactoryBean pfb) throws JMSException {
        pfb.afterPropertiesSet();
    }

    protected MetadataStrategy createMetadataStrategy() {
        return new SimpleMetadataStrategy(false);
    }
View Full Code Here

TOP

Related Classes of org.logicblaze.lingo.SimpleMetadataStrategy

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.