Skip to content

Make the default BOOTSTRAP_BINDER_NAME configurable #14

@galves

Description

@galves

It is a bit of a pain having to explicitly define the binder name for each verticle in the json deployment config, when I imagine most users have the same binder for each verticle deployment?

Also it creates a confusing error when the binder is not set:

"Guice bootstrap binder class com.englishtown.vertx.guice.BootstrapBinder was not found. Are you missing injection bindings?"

This should at most result in a warning because you may intentionally be using just a parent injector.

Please can we add a setter for it the binder in the verticle factory then pass it to the loader.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions