Skip to content

Regroup kernel information in a KernelInfo class #69

Description

@pith

Create a KernelInfo class which regroup all the info useful for debugging/logging, for instance:

public interface KernelInfo {
    Map<String, Plugin> plugins();
    UnitModule unitModule(Class<? extends Plugin> plugin);
    UnitModule overridingUnitModule(Class<? extends Plugin> plugin);
    UnitModule nonGuiceUnitModule(Class<? extends Plugin> plugin);
    UnitModule nonGuiceOverridingUnitModule(Class<? extends Plugin> plugin);
    GlobalModule globalModule();
    Set<URL> scannedURLs();
}

This class will be provided by a new method on the kernel:

public interface Kernel {
    ...
    KernelInfo getInfo();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions