Clone Tools
  • last updated 24 mins ago
Constraints: committers
Constraints: files
Constraints: dates
2039 redesign of config (#134)

* ISIS-2039: major refactoring

move config code into its own module

remove number of classes in metamodel, that hold a reference to

IsisConfiguration or its implementation

hide the mutable IsisConfigurationDefault


* ISIS-2039: reduce visibility of some config classes


* ISIS-2039: simplify config access


* ISIS-2039: cleaning up the component-provider mess

for web-modules: no longer negotiate by writing attributes to the

servlet-context, instead use a java class for that


* ISIS-2039: fixing some tests


* ISIS-2039: removing arguments of @PostConstruct methods


* ISIS-2039: lazy binding to config for wicket


* ISIS-2039: proposed test fix

also cleaning up verbose tests


* ISIS-2039: more test fixes


* ISIS-2039: experimenting with AppConfig managed by Guice


* ISIS-2039: solving the AppManifest lookup problem independently of the

configuration bootstrapping


* ISIS-2039: simplify helloworld


* ISIS-2039: moving type discovery to an earlier stage in bootstrapping

Integration Test Bootstrapping works.


* ISIS-2039: on web-context: move the config bootstrapping from wicket

module to the main ServletContextListener

such that the wicket module is no longer responsible for initiating the



* ISIS-2039: config bootstrapping: fixes the resource chain


* ISIS-2039: allow ServiceLoader lookup for AppConfig to fallback ...

to previous behavior, that is to lookup the AppManifest from config

property 'isis.appManifest'


* ISIS-2039: fixes concurrent modification with _Context

add a property 'isUnitTesting' to the IsisSystemEnvironment, to help

with the decision on how to bootstrap the configuration

also doing some cleaning up


* ISIS-2039: fixing junit tests ...

by having the IsisSystemEnvironment#isUnitTesting correctly setup by



* ISIS-2039: further fixing tests ...

also moving ExceptionRecognizer services that depend on the 'config'

module from 'applib' to 'runtime'


* ISIS-2039: fixing tests, that fail due to new domain object annot.



* ISIS-2039: unify config bootstrapping code for maven-plugin,

wicket-viewer and headless


* ISIS-2039: to fix prev. commit: let the maven-plugin bootstrap the

configuration properly


* ISIS-2039: fixing mm verification tests


* ISIS-2039: reinstating the ConfigurationServiceDefault

also renaming packages within the 'config' module -> 'o.a.i.config'


* ISIS-2039: removing the ConfigurationService interface

use the singleton IsisConfiguration instead

for the UI, the ConfigurationServiceMenu was renamed to

ConfigurationMenu which uses a ConfigurationViewService for the single

purpose of displaying config values


* ISIS-2039: reorg. packages


  1. … 425 more files in changeset.
ISIS-1976: finally removing guava from metamodel


  1. … 50 more files in changeset.
ISIS-1841 automated source cleanup

Add missing '@Override' annotations

Remove trailing white spaces on all lines

Correct indentation

  1. … 1396 more files in changeset.
ISIS-1956: introduces _Reflect (Internal API), removes org.reflections


  1. … 8 more files in changeset.
ISIS-1950: break out unittestsupport's own tests into a new module


  1. … 63 more files in changeset.
  1. … 10 more files in changeset.
ISIS-1954: fixes DefaultImposteriserTest


  1. … 1 more file in changeset.
ISIS-1948: provides a means to load plugins not initially on classpath


  1. … 6 more files in changeset.
ISIS-1948: setting the new 'plugin-driven' Imposteriser as default


  1. … 1 more file in changeset.
ISIS-1949: deprecating JavassistImposteriser ...

... use ImposteriserUsingCodegenPlugin instead


ISIS-1949: comment: code does not ignore bridges


ISIS-1949: move objenesis dependencies


  1. … 5 more files in changeset.
ISIS-1742 org.jmock.Expectations 'one' is deprecated

... replacing with 'oneOf'

  1. … 15 more files in changeset.
ISIS-1897 new ObjectContracts backward compatibility implemented

  1. … 7 more files in changeset.
ISIS-1867: caches JAXBContext (backported from 2.0.0-M1)

  1. … 7 more files in changeset.
ISIS-1867: caches JAXBContext within JaxbMatchers (unit test support)

Merge branch 'master' into dev/2.0.0/ISIS-1632-meta-annotations

# Conflicts:

# core/runtime/src/main/java/org/apache/isis/core/runtime/runner/

# core/runtime/src/main/java/org/apache/isis/core/runtime/services/menubars/bootstrap3/

# core/viewer-restfulobjects-rendering/src/main/java/org/apache/isis/viewer/restfulobjects/rendering/domainobjects/

# core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/

# example/application/helloworld/src/main/java/domainapp/dom/impl/

# example/application/helloworld/src/main/java/domainapp/dom/impl/

# example/application/simpleapp/module-simple/src/main/java/domainapp/modules/simple/dom/impl/

# example/application/simpleapp/module-simple/src/main/java/domainapp/modules/simple/dom/impl/

# example/application/simpleapp/module-simple/src/test/java/domainapp/modules/simple/dom/impl/

# example/application/simpleapp/pom.xml

  1. … 20 more files in changeset.
ISIS-1348: fixes to SoapEndpointPublishingRule, iterate over multiple ports.

ISIS-1296: using toolchain plugin to enforce Java7; don't call JDK8 APIs

  1. … 3 more files in changeset.
ISIS-1166: further improvements/simplifications to SoapEndpointPublishingRule

  1. … 1 more file in changeset.
ISIS-1166: generalized SoapEndpointPublishingRule to host mulitple SOAP endpoints

  1. … 1 more file in changeset.
ISIS-1167: moving JaxbUtil into applib/utils.

  1. … 1 more file in changeset.
ISIS-1167: new NullPrintStream unittestsupport class

ISIS-1166: take-on SoapEndpointPublishingRule and supporting classes

(originally developed as part of, but useful in other contexts).

  1. … 2 more files in changeset.
ISIS-1032: Allow methods methods being used in bidirectional contract tests to be overridden

ISIS-1019 Upgrade dependencies to javassist, org.reflections

Upgrade Reflections to 0.9.9

  1. … 1 more file in changeset.
ISIS-928: removing very old commented out code in JavassistImposteriser.

ISIS-832: deleting old src/site files (defunct since now using ASF CMS).

  1. … 84 more files in changeset.
ISIS-792: missing license headers for core.

  1. … 1 more file in changeset.
ISIS-772: reimplemented.

... so that WrapperFactoryDefault now uses javassist. WrapperFactoryCglib is the original impl. To use, explicitly include cglib-nodep and asm in pom.xml (they are now marked as optional).

In addition:

- new tests in todo app to demonstrate some of the usage of this

- fixed an error that the use of 'modify' in wrapped methods was not being disallowed

- resurrected previously-@Ignore'd unit tests for wrapper factory.

  1. … 47 more files in changeset.