aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/di/Container.java
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* detect controlled shutdownArne Juul2023-01-271-1/+5
|
* Use IllegalArgumentException when appropriateJon Bratseth2022-10-271-1/+1
|
* Remove var that is now unused.gjoranv2022-09-081-1/+0
|
* Always return the set of bundles to uninstall upon completeGen,gjoranv2022-09-081-9/+7
| | | | regardless of success or failure.
* Uninstall bundles from a failed generation also when failing to ...gjoranv2022-09-071-8/+9
| | | | set up the graph, before component construction.
* Redesign application bundle loading with a 'complete' phase.gjoranv2022-09-071-8/+14
| | | | | | | - To be able to uninstall bundles from a config generation that has failed, without affecting the bundles from the last successful generation. (Component reconfig with unchanged bundles was not handled correctly.)
* Add 'generation' parameter to Osgi.useApplicationBundlesgjoranv2022-09-051-1/+1
| | | | - Only used for logging for now.
* Reapply "Make it possible to test the Container with synthetic bundles"gjoranv2022-09-011-5/+0
| | | | This reverts commit cbed8a40c2a72ca09b7b8e97f83c3acde3479ab3.
* Reapply "Clean up bundles and allowed duplicates after a failed reconfig."gjoranv2022-09-011-3/+6
| | | | This reverts commit f869fa7fc3fbce76bc19745201bb62484dfc8efe.
* Revert "Clean up bundles and allowed duplicates after a failed reconfig."gjoranv2022-08-311-6/+3
| | | | This reverts commit b0a398eaeadfaf12e31bcfef2e41892439db1149.
* Revert "Make it possible to test the Container with synthetic bundles"gjoranv2022-08-311-0/+5
| | | | This reverts commit 41b9952b7f5b6062a6090ad5eb65d1aa3f8a9b84.
* Make it possible to test the Container with synthetic bundlesgjoranv2022-08-301-5/+0
| | | | | + Add test for installing/uninstalling upon both successful and unsuccessful reconfig.
* Clean up bundles and allowed duplicates after a failed reconfig.gjoranv2022-08-251-3/+6
|
* minor: rearrange/rename methodsgjoranv2022-08-251-15/+15
|
* Simplify creation of BundleInstantiationSpecgjoranv2022-07-121-1/+1
|
* Revoke com.yahoo.config.subscription as public APIHarald Musum2022-06-081-1/+0
| | | | Also remove some deprecated methods in ConfigGetter
* Also deconstruct partrial graph when an Error is thrownBjørn Christian Seime2022-02-181-1/+1
|
* Throw exception if subscriber is invoked after it's closedBjørn Christian Seime2022-02-071-1/+2
|
* Reapply "Shutdown reconfiguration thread in a more controlled way ↵Bjørn Christian Seime2022-02-071-2/+2
| | | | [run-systemtest]""
* Revert "Shutdown reconfiguration thread in a more controlled way ↵Bjørn Christian Seime2022-02-071-2/+2
| | | | [run-systemtest]"
* Only deconstruct components from failed graph that are newBjørn Christian Seime2022-02-071-1/+13
|
* Shutdown reconfiguration thread in a more controlled wayBjørn Christian Seime2022-02-041-2/+2
| | | | Use interrupts is a horrible mechanism as we cannot control which part of the code receives the signal.
* Rename and remove unnecessary parameterBjørn Christian Seime2022-02-041-13/+12
|
* Deconstruct partial graph if construction failBjørn Christian Seime2022-02-041-1/+9
|
* Add SuppressWarnings for removal of config.subscription types.gjoranv2022-02-021-0/+1
|
* Include generation number in log message for deconstructionBjørn Christian Seime2022-01-251-2/+2
|
* Redesign ComponentDeconstructor to start deconstruction immediatelyBjørn Christian Seime2022-01-251-2/+3
| | | | | | There is no need to wait with deconstruction after new generation as the container knows when an old graph can be safely GCed. Add shutdown() that waits for all previous graphs to complete deconstruction.
* Rename methods to 'waitForNextGraphGeneration'Bjørn Christian Seime2022-01-251-1/+1
|
* Delegate responsibility/timing of cleaning up old components to callerBjørn Christian Seime2022-01-251-7/+20
|
* Rename methods that implicitly waits for a new config generationBjørn Christian Seime2022-01-251-6/+4
|
* Fail-fast if reconfigurer thread is interruptedBjørn Christian Seime2022-01-211-1/+6
|
* Reapply "Container config improvements [run-systemtest]"gjoranv2021-10-151-8/+8
| | | | This reverts commit 868c29b272eb7773d5c4515cb33640a44074d05a.
* Revert "Container config improvements [run-systemtest]"Henning Baldersheim2021-10-141-8/+8
|
* Rename config retriever field.gjoranv2021-10-141-7/+7
|
* Simplify by taking a SubscriberFactory instead of a Function.gjoranv2021-10-081-1/+1
|
* Use correct method name in log message.gjoranv2021-10-081-1/+1
|
* Update 2018 copyright notices.gjoranv2021-10-071-1/+1
|
* Remove Jersey integration from DI framework.gjoranv2021-07-141-10/+1
|
* More lazy debug log message generationJon Marius Venstad2021-04-281-4/+5
|
* Add java source from container-di.gjoranv2021-04-121-0/+289
|
* Revert "Gjoranv/merge di into core (rebased)"Harald Musum2021-04-061-289/+0
|
* Add java source from container-di.gjoranv2021-04-021-0/+289