Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage example #19

Open
IvanZelenskyy opened this issue May 10, 2016 · 2 comments
Open

Usage example #19

IvanZelenskyy opened this issue May 10, 2016 · 2 comments

Comments

@IvanZelenskyy
Copy link

Could you provide a usage example of this library? Now it is hard to figure out this not from README nor from tests.

@jammm
Copy link

jammm commented Jun 20, 2017

This is an example on Kotlin, should be straightforward to convert to Java:

        var injector : Injector
        var list = mutableListOf<Module>()
        list.add(GuiceCassandraBinder())
        list.add(GuiceVertxBinder(vertx))

        injector = Guice.createInjector(list)
        cassandraSession = injector.getInstance(CassandraSession::class.java)

@rahulbhanushali
Copy link

I am new to Kotlin and Vertx both. Can you help with a detailed example on how I can get started using the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants