1 Reply Latest reply on Dec 2, 2004 11:38 AM by Adrian Brock

    KernelRegistry proposed changes

    Dimitris Andreadis Master

      KernelRegistryFactory is more or less used for name lookup chaining, right? So the "factory" in the name is a bit missleading.

      1) What if it changes to "KernelLookUpRegistry", then "KernelRegistry" extend this?

      2) registerEntry(Object name, KernerRegistryEntry entry). Isn't the "name" redundant since KernerRegistryEntry contains the name, anyway?

        • 1. Re: KernelRegistry proposed changes
          Adrian Brock Master

          Can we stop worrying about what things are called.
          Read Humpty Dumpty by Lewis Carol.
          If you don't like it feel free to change it, I don't care.

          registerEntry() is to be consistent with unregisterEntry(Object)

          If it were unregister(Object), it might not play well with other interfaces
          with the same method name but different semantics.
          Since this is intended to wrap/mixin with other "registry" implementations
          this is likely.