Norqy / warp-persist

Automatically exported from code.google.com/p/warp-persist
0 stars 0 forks source link

Bind List<PersistenceService> #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In multimodules mode, users should be able to get a list of all the
PersistenceService instances so they can be started / stopped. Usually this
is for use with UnitOfWork.TRANSACTION.

Maybe we can use Guice 2.0 multibindings, but it would be nice not to have
that dependency. It should also be possible to use the SPI but that feels
clunky (unless we provide a utility?).

Original issue reported on code.google.com by robbie.v...@gmail.com on 21 Dec 2008 at 3:22

GoogleCodeExporter commented 9 years ago
I went for a utility module. r252

Original comment by robbie.v...@gmail.com on 21 Dec 2008 at 5:27

GoogleCodeExporter commented 9 years ago

Original comment by robbie.v...@gmail.com on 22 Dec 2008 at 2:30