What's mean of kind and requiresInterface in bindings.xsd?
Up to Dispersed Storage Devs
Re: What's mean of kind and requiresInterface in bindings.xsd?
jacky,
Thanks for your interest. The purpose of our configuration framework is to establish a
unified mechanism to obtain run-time information from XML files.
'Kind' and 'Interface' are two kinds of java bindings we use in our configuration framework. A 'Kind' binding allows us to categorize java implementations by a name and an 'Interface' binding allows us to list implementations of an interface.
The Bindings framework can be used from other XML configuration files (like vault descriptor) or from code. A "kind + referral" combination can be used to get a specific implementation from an XML file, and a default implementation of an interface may be looked up in java code.
The configuration framework that you see in the open source version 1.1 has changed quite a bit since, so in upcoming releases, it should be really easy for external developers to drop in your own jars with your own bindings files, allowing you to override our default implementations.
Hope this answers your questions. Please feel free to ask any other questions.

