hivemind.ObjectProviders Configuration |
The ObjectProviders configuration drives the object translator. Contributions define an object provider in terms of a prefix (such as service) and a service that implements the ObjectProvider interface. .
The contribution format defines the name and class for each service model:
provider (prefix=... service-id=...)
Prefixes must be unique.
The following default prefixes are available:
Prefix | Descripton | Example |
---|---|---|
bean | The locator is a BeanFactory locator, consisting of the id of a BeanFactory service, a colon,
and an optional initializer for the bean.
Note
Provided by the HiveMind library.
|
bean:ValidatorFactory:string,required |
configuration | The locator is the id of a configuration. | configuration:MyConfiguration |
instance | The locator is a fully qualified class name, which must have a public no arguments contructor. | instance:com.example.MyObject |
service | The locator is the id of a service. | service:MyService |
service-property | The locator provides a service id and a property name (provided by that service), seperated with a colon. | service-property:MyService:activeRequest |