aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/di/ComponentDeconstructor.java
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-04-02 16:59:04 +0200
committergjoranv <gv@verizonmedia.com>2021-04-12 16:13:43 +0200
commitc62b861a30b923c5d1b23732f2131806030ee9e0 (patch)
treee964664339731c1eb436ffe9529af14893fc5ef6 /container-core/src/main/java/com/yahoo/container/di/ComponentDeconstructor.java
parent68deb69917fb923aab6d98feaa6fac932c6858ef (diff)
Add java source from container-di.
Diffstat (limited to 'container-core/src/main/java/com/yahoo/container/di/ComponentDeconstructor.java')
-rw-r--r--container-core/src/main/java/com/yahoo/container/di/ComponentDeconstructor.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/di/ComponentDeconstructor.java b/container-core/src/main/java/com/yahoo/container/di/ComponentDeconstructor.java
new file mode 100644
index 00000000000..4e3881a6fe6
--- /dev/null
+++ b/container-core/src/main/java/com/yahoo/container/di/ComponentDeconstructor.java
@@ -0,0 +1,18 @@
+// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.container.di;
+
+import org.osgi.framework.Bundle;
+
+import java.util.Collection;
+import java.util.List;
+
+/**
+ * @author gjoranv
+ * @author Tony Vaagenes
+ */
+public interface ComponentDeconstructor {
+
+ /** Deconstructs the given components in order, then the given bundles. */
+ void deconstruct(List<Object> components, Collection<Bundle> bundles);
+
+}