Skip to content

Commit 7ce3fa4

Browse files
committed
ByeNamespace
1 parent df14e4f commit 7ce3fa4

19 files changed

Lines changed: 11 additions & 808 deletions

modules/packed/src/main/java/app/packed/component/ComponentConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@
2121
import app.packed.bean.BeanConfiguration;
2222
import app.packed.container.ContainerConfiguration;
2323
import app.packed.namespace.NamespaceConfiguration;
24-
import app.packed.namespaceold.OldNamespaceConfiguration;
2524
import app.packed.operation.OperationConfiguration;
2625

2726
/** Configuration of a component. */
2827
public abstract sealed class ComponentConfiguration
29-
permits ApplicationConfiguration, BeanConfiguration, ContainerConfiguration, OldNamespaceConfiguration, OperationConfiguration, NamespaceConfiguration {
28+
permits ApplicationConfiguration, BeanConfiguration, ContainerConfiguration, OperationConfiguration, NamespaceConfiguration {
3029

3130
/**
3231
* Check that the component is still configurable by its owner.

modules/packed/src/main/java/app/packed/component/ComponentHandle.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@
2020
import app.packed.application.ApplicationHandle;
2121
import app.packed.bean.BeanHandle;
2222
import app.packed.container.ContainerHandle;
23-
import app.packed.namespaceold.OldNamespaceHandle;
2423
import app.packed.operation.OperationHandle;
2524

2625
/**
2726
* Tror den ryger... Maaske bliver den intern
2827
*/
29-
public sealed abstract class ComponentHandle permits ApplicationHandle, ContainerHandle, BeanHandle, OperationHandle, OldNamespaceHandle {
28+
public sealed abstract class ComponentHandle permits ApplicationHandle, ContainerHandle, BeanHandle, OperationHandle {
3029

3130
/**
3231
* Checks that the component is still configurable or throws an {@link IllegalStateException} if not

modules/packed/src/main/java/app/packed/extension/ExtensionHandle.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
import java.util.Optional;
1919

2020
import app.packed.component.ComponentPath;
21-
import app.packed.component.ComponentRealm;
22-
import app.packed.namespaceold.OldNamespaceHandle;
23-
import app.packed.namespaceold.OldNamespaceTemplate;
2421
import app.packed.util.TreeView;
2522
import internal.app.packed.extension.PackedExtensionHandle;
2623

@@ -51,12 +48,6 @@ public sealed interface ExtensionHandle<E extends Extension<E>> permits PackedEx
5148

5249
boolean isExtensionUsed(Class<? extends Extension<?>> extensionType);
5350

54-
default <H extends OldNamespaceHandle<E, ?>> H namespaceLazy(OldNamespaceTemplate<H> template) {
55-
return namespaceLazy(template, ComponentRealm.userland());
56-
}
57-
58-
<H extends OldNamespaceHandle<E, ?>> H namespaceLazy(OldNamespaceTemplate<H> template, ComponentRealm realm);
59-
6051
/** {@return any parent extension this extension might have in the same application} */
6152
Optional<E> parent();
6253

modules/packed/src/main/java/app/packed/namespaceold/NamespaceInstaller.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

modules/packed/src/main/java/app/packed/namespaceold/OldNamespaceConfiguration.java

Lines changed: 0 additions & 138 deletions
This file was deleted.

modules/packed/src/main/java/app/packed/namespaceold/OldNamespaceHandle.java

Lines changed: 0 additions & 157 deletions
This file was deleted.

0 commit comments

Comments
 (0)