All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.strandls.alchemy.rest.client.stubgenerator.GuiceModule.st Maven / Gradle / Ivy

Go to download

A rest client auto generator with stubs and proxy code mimicking your webservices. Can be used to build java clients for rest webservices or unit / integration tests for webservices.

The newest version!
// Template to generate guice module binding stubs to the proxies.

GuiceModule(package, stubProxyMap ) ::= <<


package ;


import com.google.inject.AbstractModule;

/**
 * Binds client stubs to the proxy implementations.
 */
public class ClientGuiceModule extends AbstractModule {

    /*
     * (non-Javadoc)
     * @see com.google.inject.AbstractModule#configure()
     */
    @Override
    protected void configure() {
        .class).to(.class);
        }>
    }

}

>>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy