com.strandls.alchemy.rest.client.stubgenerator.GuiceModule.st Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alchemy-rest-client-generator Show documentation
Show all versions of alchemy-rest-client-generator Show documentation
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