Skip to content

Regroup kernel information in a KernelInfo class #69

@pith

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();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions