Skip to content
This repository has been archived by the owner on Dec 6, 2017. It is now read-only.

How to create instance per request? #243

Open
ashokdudhade opened this issue Aug 4, 2016 · 0 comments
Open

How to create instance per request? #243

ashokdudhade opened this issue Aug 4, 2016 · 0 comments

Comments

@ashokdudhade
Copy link

ashokdudhade commented Aug 4, 2016

Using this library how to create instances per request.

class CarouselModule extends Module {
  CarouselModule() {
    install(new TransitionModule());
    bind(Carousel); // Want this class to be injected per request and not as singleton
    bind(Slide);
  }
}

@vicb vicb closed this as completed Aug 4, 2016
@vicb vicb reopened this Aug 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants