Description
It would be great to get rid of the quick classification stuff in IsisBeanTypeRegistry, because determining the BeanSort is ultimately a meta-model concern (responsibility of the ObjectSpecificationLoader).
IsisBeanTypeRegistry can only operate before Spring's Context is available, hence does not have access to provisioned services, while the ObjectSpecificationLoader does.
IsisBeanTypeRegistry's responsibility should be trimmed down to just
- provide alternative bean naming to override Spring's defaults (objectType="...")
- determine which types to introspect (inbox for spec-loader)
BeanSort classification should happen then at a later stage, when Spring's context is available.
Attachments
Issue Links
- is related to
-
CAUSEWAY-2382 Concurrent Spec Loading is broken (possible race condition)
- Resolved