Clone Tools
  • last updated 10 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2158: change naming strategy for managed-beans

- the bean-name for managed-beans is already required before meta-model

creation

- so we allow @DomainService(objectType=) to override the bean-name as

recognized by Spring immediately after the scan-phase (before the

post-construct phase begins)

- later during meta-model creation, the bean-name as determined above

gets projected into the corresponding meta-model facets; this replaces

the previous behavior of looking up the bean name using annotation

inspection and other naming strategies

- hence the getId() naming strategy for services is no longer supported

    • -129
    • +6
    ./isis/metamodel/services/ServiceUtil.java
    • -2
    • +12
    ./isis/metamodel/spec/ObjectSpecification.java
  1. … 17 more files in changeset.
ISIS-2158: remove some references to conf-legacy where no longer used

  1. … 4 more files in changeset.
ISIS-2158: intermediate commit, breaks some smoketests

- simplifies interaction between spec-loader and type-registry

- speed up 'isManagedBean' check, by no longer using reflection, when we

already can ask a fully populated hash-map

- converts DefaultedFacet to use new 'IsisConfiguration'

  1. … 15 more files in changeset.
ISIS-2158: fixing performance issues and tests

  1. … 6 more files in changeset.
ISIS-2158: replace home-brew service injector with Spring's

    • -0
    • +284
    ./isis/metamodel/services/ServiceInjectorLegacy.java
  1. … 7 more files in changeset.
ISIS-2158: intermediate commit with debug lines, several fixes though ..

- registered beans now honor the @DomainService(objectType="...")

attribute

- lookup Specification by SpedId other than class-name was broken

- attempted fix for the RO Viewer on collections

    • -2
    • +18
    ./isis/metamodel/facets/CollectionUtils.java
    • -3
    • +45
    ./isis/metamodel/spec/ManagedObject.java
    • -5
    • +2
    ./isis/metamodel/spec/ObjectSpecId.java
    • -1
    • +1
    ./isis/metamodel/util/snapshot/XmlSnapshot.java
  1. … 19 more files in changeset.
ISIS-2158: refactoring towards free MM from ObjectAdapter

    • -0
    • +46
    ./isis/metamodel/spec/ManagedObject.java
  1. … 1 more file in changeset.
ISIS-2158: regression

ISIS-2158: fixes OpenJDK-11 cross compilation issue

  1. … 4 more files in changeset.
ISIS-2158: fixes the mixed-in association accept logic

- seems one predicate got flipped during refactoring

  1. … 2 more files in changeset.
ISIS-2158: polishing the SpecificationLoaderDefault

  1. … 2 more files in changeset.
ISIS-2158: further regarding terminology

- also consolidate some of the type categorization logic

- a ManagedBeanAdapter is always of BeanSort = MANAGED_BEAN, so field

removed

    • -11
    • +10
    ./isis/metamodel/MetaModelContext_usingSpring.java
  1. … 16 more files in changeset.
ISIS-2158: some renaming after clarifying terminology

- ManagedBean <=> injectable

- ManagedObject <=> introspectable

  1. … 16 more files in changeset.
ISIS-2158: extend spec-loading, also allow for concurrent validation

- as an optimization step we also introduced a new highly specialized

List type '_VersionedList'

- _VersionedList allows to iterate over its elements while concurrently

adding elements to the list

- we have a special traversal function 'forEach(element)' that very fast

traverses all elements even those that get added during traversal

  1. … 2 more files in changeset.
ISIS-2158: polishing SpecificationLoader interface

    • -21
    • +0
    ./isis/metamodel/spec/ObjectSpecId.java
  1. … 6 more files in changeset.
ISIS-2158: revert FacetAbstract temp. changes to previous version

- OpenJDK 11 build fails on this class - no idea why

ISIS-2158: introduces a DeficiencyFacet

- facets of this particular type do now get added directly to the

meta-model during validation; these are specifically added to the

facet-holder, that is considered responsible for the failure

- this automatically allows for the meta-model export to also include

deficiency facets, explaining what's going wrong, right at the place

where they originate from

  1. … 28 more files in changeset.
ISIS-2158: polish meta-model life cycle

  1. … 6 more files in changeset.
ISIS-2158: consolidate all jdo programming model refiners

- also renames some classes in 'jdo-common' -> IsisXxxJdo

    • -5
    • +0
    ./isis/metamodel/spec/ManagedObject.java
  1. … 12 more files in changeset.
ISIS-1998: at type-level now supported @Collection and @CollectionLayout

- follows same semantic as @Property and @PropertyLayout

  1. … 6 more files in changeset.
ISIS-1998: also type-level processes @ActionLayout and @PropertyLayout

  1. … 4 more files in changeset.
ISIS-1998: infers intent when using @Property with mixins ...

- when @Property at type level: infers @Action(semantics=SAFE) and

@Mixin(methodName="proc")

- when @Property at method level: infers @Action(semantics=SAFE), but

@Mixin at type level is still required

    • -2
    • +4
    ./isis/metamodel/facetapi/FacetUtil.java
  1. … 2 more files in changeset.
ISIS-1998: extending MixinFacet to help with early mixin-main method detection

    • -1
    • +1
    ./isis/metamodel/facets/FacetFactory.java
  1. … 1 more file in changeset.
ISIS-1998: proper mixin main method detection

- doing this now in a single place: FacetedMethodsBuilder

- solves issue with any public mixin method being picked up as

contributing action

    • -73
    • +78
    ./isis/metamodel/facets/FacetFactory.java
  1. … 1 more file in changeset.
ISIS-2158: major MM refactoring: replace ObjectAdapter -> ManagedObject

- in order to decouple the meta-model from the stateful 'ObjectAdapter'

- instead the lightweigth 'ManagedObject' just holds a PoJos and its

ObjectSpecification

  1. … 149 more files in changeset.
ISIS-1998: minor polishing

ISIS-1998: extracts low-level utilities from ObjectSpecificationAbstract

- creating package private Utils, Predicates and Factories

    • -0
    • +96
    ./isis/metamodel/specloader/specimpl/Factories.java
    • -0
    • +145
    ./isis/metamodel/specloader/specimpl/Predicates.java
    • -0
    • +103
    ./isis/metamodel/specloader/specimpl/Utils.java
ISIS-2158: makes the ServiceInjectorDefault thread-safe

  1. … 1 more file in changeset.
ISIS-1998: allows @Action on type as synonym for @Mixin(method="act")

    • -2
    • +61
    ./isis/metamodel/facets/FacetFactory.java
  1. … 22 more files in changeset.
ISIS-1998: use @Mixin as meta-annotation on @Action, @Property ...

  1. … 11 more files in changeset.