Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 20 more files in changeset.
ISIS-2158: fixing performance issues and tests

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

  1. … 10 more files in changeset.
ISIS-2158: wicket-viewer: fixes collections rendering

  1. … 4 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

  1. … 26 more files in changeset.
ISIS-2158: minor polishing

  1. … 1 more file 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

  1. … 23 more files in changeset.
ISIS-2158: some renaming after clarifying terminology

- ManagedBean <=> injectable

- ManagedObject <=> introspectable

  1. … 24 more files in changeset.
ISIS-2158: let have the ServiceInjector use the same injection point resolving logic (ordering) as Spring does

- @Primary is used prior to others regardless of @Order

ServiceInjector provides backward-compatibility, but maybe we are able

to remove it entirely later.

    • -1
    • +1
    ./exceprecog/ExceptionRecognizerAbstract.java
  1. … 15 more files in changeset.
ISIS-2158: moving BackgroundService (API) and co-workers to 'legacy'

- obsolete since latest WrapperFactory.async(...)

    • -1
    • +1
    ./background/BackgroundCommandService.java
    • -60
    • +0
    ./background/BackgroundService.java
  1. … 13 more files in changeset.
ISIS-2158: fixes all mm tests

- there was a strange discrepancy of testing logic v1 vs v2

- assuming v1 test-logic is correct

  1. … 13 more files in changeset.
ISIS-2158: wrapper: extend async programming model to also match method references that don't return a value (like Runnable)

- BackgroundService seems now obsolete, need to check whether it can be

removed

  1. … 8 more files in changeset.
ISIS-2158: wrapper: allow async invocation for mixins as well

  1. … 2 more files in changeset.
ISIS-2158: wrapper: redesigns recently introduced async execution

- new programming model allows to get hold of the Future that is

associated with the async action invocation

- type-safe async action invocation supports up to 4 arguments

(extensible)

- users are free to pick an ExecutorService for each individual async

execution, we default to the common ForkJoinPool

- handling of exceptions that occur during async invocation is not yet

well designed (API) or tested

    • -0
    • +91
    ./wrapper/AsyncWrap.java
    • -1
    • +2
    ./wrapper/events/InteractionEvent.java
  1. … 4 more files in changeset.
merging ISIS-2086 -> v2

- also fixing the TranslationService.Mode.DISABLE(D) synonym issue

  1. … 2 more files in changeset.
ISIS-2158: class discovery: removes the need for a custom scan-filter

- @Singleton is no longer discovered!

- use @Service or @DomainService instead

- the IsisBeanScanInterceptorForSpring is now a NoOp, waiting to be

removed

- IsisBoot installs the IsisBeanFactoryPostProcessorForSpring which is

the replacement for the filter above

    • -2
    • +2
    ./publish/PublisherServiceLogging.java
  1. … 94 more files in changeset.
ISIS-2082: spikes the use of type-safe config properties, for two cases.

First is "isis.services.container.disableAutoflush", which is used by RepositoryServiceJdo. Here the config bean can be injected and consumed directly.

Second is "isis.reflector.explicitAnnotations.action", which is used by FacetedMethodBuilder. Here we use the _Spring.getSingleton service locator to read.

    • -18
    • +0
    ./repository/RepositoryService.java
  1. … 9 more files in changeset.
ISIS-2158: cleanup serializaion ids no longer needed

- also mark NatureOfService deprecated options to be removed with

release 2.0.0

    • -20
    • +22
    ./queryresultscache/QueryResultsCacheInternal.java
  1. … 10 more files in changeset.
ISIS-2158: remove requirement for event-objects to be serializable

- replaces the root of the DomainEvent class hierarchy

java.util.EventBase with org.apache.isis.applib.events.domain.EventObjectBase

    • -8
    • +6
    ./metamodel/MetaModelServicesMenu.java
    • -2
    • +0
    ./wrapper/events/ActionArgumentEvent.java
    • -2
    • +0
    ./wrapper/events/ActionUsabilityEvent.java
    • -2
    • +0
    ./wrapper/events/CollectionAddToEvent.java
    • -2
    • +0
    ./wrapper/events/CollectionRemoveFromEvent.java
    • -2
    • +0
    ./wrapper/events/CollectionVisibilityEvent.java
    • -4
    • +2
    ./wrapper/events/InteractionEvent.java
  1. … 54 more files in changeset.
ISIS-2158: fixes stereotypes on services that failed MM validation

- we have still failing services, those that contribute to menus

  1. … 1 more file in changeset.
ISIS-2158: adds new debugging presets

- debug logging for the programming model and its refiners

- also adds stubs for metamodel validation smoketesting with good and

bad domain-objects

  1. … 17 more files in changeset.
ISIS-2158 changes MetaModelExporter behavior

- if no package prefixes configured export all instead of none

    • -13
    • +22
    ./metamodel/MetaModelService.java
  1. … 3 more files in changeset.
ISIS-2158: simplify application configuration

in case there are multiple configurations to pick from when

bootstrapping with Spring, picking one configuration class works just

fine if the other are not auto-discovered by Spring's package scanning;

so the solution is to move any Spring configuration beans out of the

scanned package hierarchy

this commit does this for 'smoketests' and 'simpleapp' by moving the

config beans into xxx.conf packages that are out of scanning scope

  1. … 34 more files in changeset.
ISIS-2158: refining wrapper's ASYNC execution mode, adds java-doc

  1. … 2 more files in changeset.
ISIS-2158 extends the WrapperFactory API, to give users more control

- when using the 'wrapper', the desired execution mode can now be

controlled finer by combining ExectionMode options to an EnumSet, where

now any possible combination is available to the user

- also added a new ASYNC mode Option do be implemented later; idea is to

allow for background execution via the WrapperFactory

  1. … 6 more files in changeset.
ISIS-2158 fixes some behavior inconsitences regarding domain object execution mode

  1. … 6 more files in changeset.
ISIS-2158 minor code cleanup

  1. … 11 more files in changeset.
ISIS-2158 refining TransactionService (API)

- executeWithinTransaction(task) now reuses any existing tx boundary

- executeWithinNewTransaction(task) forces creation of a new tx boundary

JDO does not support transaction nesting, so we reuse tx boundaries by

default. This should allow for better tx rollback support.

  1. … 12 more files in changeset.
batch update source format:

- Add missing '@Override' annotations

- Correct indentation

- Add file header (JAutodoc)

    • -2
    • +3
    ./background/BackgroundCommandService.java
    • -4
    • +4
    ./exceprecog/ExceptionRecognizerAbstract.java
    • -1
    • +1
    ./exceprecog/ExceptionRecognizerComposite.java
  1. … 1053 more files in changeset.
batch update source format: organize imports and reorder

0=java

1=javax

2=com

3=org

4=org.apache.isis

5=org.isisaddons

6=org.incode

7=#

    • -1
    • +2
    ./queryresultscache/QueryResultsCacheInternal.java
  1. … 799 more files in changeset.