1 Reply Latest reply on Dec 2, 2004 11:38 AM by adrian.brock

    KernelRegistry proposed changes

    dimitris

      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

          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.