commit | 0f62e836d57d3032b6b0c115ad3297e7eec6ffd3 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Oct 09 12:43:44 2013 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Fri Oct 11 10:47:30 2013 -0700 |
tree | 8c0d841bcc584805f3602b8fbb22cc10965ab109 | |
parent | 5e9470a98fa0095e1cd3e836acf3d3ac7ea7cc8c [diff] |
Bind caches as eager singletons All H2 caches must be created before the enclosing LifecycleManager starts, therefore they must be created eagerly. If they are not, it is possible for an assisted factory to attempt to create the cache for the first time only when that factory's create() method is called (as opposed to when the factory is injected). Change-Id: I058d8783161ffc4274dd78337842ce55c53de183