You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2020/02/21 00:45:45 UTC

[isis] branch master updated: ISIS-2062: refguide docs

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 8cc3e93  ISIS-2062: refguide docs
8cc3e93 is described below

commit 8cc3e93a12305aa8f1ea434e38e2a633f11393fc
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Feb 21 00:37:29 2020 +0000

    ISIS-2062: refguide docs
---
 antora/playbooks/site-extensions.yml               |   3 +
 antora/playbooks/site-mappings.yml                 |   3 +
 antora/playbooks/site-security.yml                 |   3 +
 antora/playbooks/site.yml                          |   9 +
 .../hints-and-tips/transactions-and-errors.adoc    |  38 ++--
 api/adoc/userguide/modules/btb/pages/i18n.adoc     |   4 +-
 .../framework-provided.adoc                        |   4 +-
 .../fun/pages/building-blocks/identifiers/oid.adoc |   9 +
 .../examples/annotation/OrderPrecedence.java       |  26 +--
 .../pages/DomainServiceLayout/menuOrder.adoc       |   2 +-
 .../metamodel/Object_downloadMetaModelXml.java     |   2 +-
 .../services/metamodel/MetaModelService.java       |   2 +-
 .../images/reference-services/categories.png       | Bin 34230 -> 45113 bytes
 .../images/reference-services/categories.pptx      | Bin 39628 -> 41689 bytes
 .../modules/applib-svc/pages/AuditerService.adoc   |  23 ++-
 .../adoc/modules/applib-svc/pages/Bookmark.adoc    |   1 -
 .../applib-svc/pages/BookmarkHolder_lookup.adoc    |   1 -
 .../applib-svc/pages/BookmarkHolder_object.adoc    |   1 -
 .../modules/applib-svc/pages/BookmarkService.adoc  |  79 +++-----
 .../applib-svc/pages/BookmarkUiService.adoc        |   9 +-
 .../pages/CatalogingSchemaOutputResolver.adoc      |   1 -
 .../modules/applib-svc/pages/CommandContext.adoc   |   1 -
 .../applib-svc/pages/CommandDtoProcessor.adoc      |   1 -
 .../pages/CommandDtoProcessorService.adoc          |   6 +
 .../applib-svc/pages/CommandExecutorService.adoc   |   1 -
 .../modules/applib-svc/pages/CommandWithDto.adoc   |   1 -
 .../applib-svc/pages/ConfigurationMenu.adoc        |   7 +
 .../applib-svc/pages/ConfigurationProperty.adoc    |   1 -
 .../applib-svc/pages/ConfigurationViewService.adoc |   4 +-
 .../pages/ContentMappingServiceForCommandDto.adoc  |   1 -
 .../pages/ContentMappingServiceForCommandsDto.adoc |   1 -
 .../modules/applib-svc/pages/DomainMember.adoc     |   1 -
 .../adoc/modules/applib-svc/pages/DomainModel.adoc |   1 -
 .../adoc/modules/applib-svc/pages/EntityState.adoc |   1 -
 .../modules/applib-svc/pages/ErrorDetails.adoc     |   1 -
 .../applib-svc/pages/ErrorReportingService.adoc    |   3 +-
 .../applib-svc/pages/ExceptionRecognizer.adoc      |   4 +-
 .../pages/ExceptionRecognizerForType.adoc          |   1 -
 .../pages/ExceptionRecognizerService.adoc          | 148 +++++++++++++++
 .../modules/applib-svc/pages/FactoryService.adoc   |   1 -
 .../applib-svc/pages/GridLoaderService.adoc        |   1 -
 .../applib-svc/pages/GridSystemService.adoc        |   1 -
 .../applib-svc/pages/GuiceBeanProvider.adoc        |  87 ---------
 .../adoc/modules/applib-svc/pages/Interaction.adoc |   1 -
 .../applib-svc/pages/InteractionContext.adoc       |   1 -
 .../modules/applib-svc/pages/LayoutService.adoc    |  37 ++--
 .../applib-svc/pages/LayoutServiceMenu.adoc        |   5 +
 .../applib-svc/pages/MenuBarsLoaderService.adoc    |   3 -
 .../modules/applib-svc/pages/MenuBarsService.adoc  |   4 -
 ...etaModelService_.adoc => MetaModelService.adoc} |  12 +-
 ...nViewService.adoc => MetaModelServiceMenu.adoc} |   7 +-
 .../applib-svc/pages/MetaModelServicesMenu.adoc    |   1 -
 .../modules/applib-svc/pages/PublishedObjects.adoc |   1 -
 .../modules/applib-svc/pages/PublisherService.adoc |  53 +++---
 .../applib-svc/pages/PublisherServiceLogging.adoc  |   1 -
 .../applib-svc/pages/QueryResultsCache.adoc        |  32 ++--
 .../applib-svc/pages/QueryResultsCacheControl.adoc |   5 +
 .../applib-svc/pages/QueryResultsCacheDefault.adoc |   1 -
 .../applib-svc/pages/RepositoryService.adoc        |   2 +-
 .../adoc/modules/applib-svc/pages/Transaction.adoc |   1 -
 .../modules/applib-svc/pages/TransactionId.adoc    |   1 -
 .../applib-svc/pages/TransactionService.adoc       |   7 +-
 .../modules/applib-svc/pages/TransactionState.adoc |   1 -
 .../applib-svc/pages/TranslatableString.adoc       |   1 -
 .../applib-svc/pages/TranslationService.adoc       |   2 +-
 .../applib-svc/pages/UrlEncodingService.adoc       |   1 -
 .../pages/UrlEncodingServiceWithCompression.adoc   |   1 -
 .../modules/applib-svc/pages/WrapperFactory.adoc   |   4 +-
 .../modules/applib-svc/pages/WrappingObject.adoc   |   1 -
 .../main/adoc/modules/applib-svc/pages/about.adoc  |  42 +++--
 .../partials/_application-layer-api.adoc           |  86 +++++++++
 .../partials/_application-layer-spi.adoc           |  49 +++++
 .../applib-svc/partials/_core-domain-api.adoc      |  65 +++++++
 .../applib-svc/partials/_integration-api.adoc      |  50 ++++++
 .../applib-svc/partials/_integration-spi.adoc      |  44 +++++
 .../modules/applib-svc/partials/_metadata-api.adoc |  61 +++++++
 .../modules/applib-svc/partials/_metadata-spi.adoc |  68 +++++++
 ...-layer-api.adoc => _persistence-layer-api.adoc} |  49 +----
 .../_persistence-layer-spi.adoc}                   |  26 ++-
 .../partials/_presentation-layer-api.adoc          |  39 ++++
 .../partials/_presentation-layer-spi.adoc          | 115 ++++++++++++
 .../modules/applib-svc/partials/_security-spi.adoc |  48 +++++
 .../applib-svc/partials/application-layer-api.adoc | 150 ----------------
 .../applib-svc/partials/application-layer-spi.adoc |  81 ---------
 .../applib-svc/partials/core-domain-api.adoc       |  99 ----------
 .../applib-svc/partials/integration-api.adoc       |  84 ---------
 .../modules/applib-svc/partials/metadata-api.adoc  |  93 ----------
 .../modules/applib-svc/partials/module-nav.adoc    |  18 +-
 .../applib-svc/partials/persistence-layer-spi.adoc |  80 ---------
 .../partials/presentation-layer-api.adoc           |  74 --------
 .../partials/presentation-layer-spi.adoc           | 199 ---------------------
 .../org/apache/isis/applib/IsisModuleApplib.java   |  12 +-
 .../isis/applib/annotation/OrderPrecedence.java    |  26 +--
 .../metamodel/Object_downloadMetaModelXml.java     |   5 +-
 .../services/confview/ConfigurationMenu.java       |   4 +-
 .../applib/services/jaxb/JaxbServiceDefault.java   |  13 +-
 .../services/metamodel/MetaModelService.java       |   2 +-
 ...ServicesMenu.java => MetaModelServiceMenu.java} |  10 +-
 .../services/tablecol/TableColumnOrderService.java |  28 +--
 .../core/metamodel/IsisModuleCoreMetamodel.java    |   2 +
 .../tablecol/TableColumnOrderServiceDefault.java   |  34 ++--
 .../adoc/modules/runtime-services/pages/about.adoc |   2 +-
 .../IsisModuleCoreRuntimeServices.java             |   9 +-
 ...nalDefault.java => BookmarkServiceDefault.java} |   5 +-
 .../ExceptionRecognizerServiceDefault.java         |   2 +
 .../QueryResultsCacheDefault.java                  |   6 +-
 .../UrlEncodingServiceWithCompression.java         |   5 +-
 .../runtimeservices}/urlencoding/MementosTest.java |   4 +-
 .../urlencoding/UrlEncodingServiceTest.java        |   5 +-
 .../bootstrapping/builtin-domain-services.list     |   2 +-
 .../adoc/modules/ROOT/partials/component-nav.adoc  |   2 +
 .../core/auditer/adoc/modules/auditer/nav.adoc     |   1 -
 .../adoc/modules/auditer/partials/module-nav.adoc  |   3 -
 .../core/{auditer => command-log}/adoc/antora.yml  |   0
 .../command-log/adoc/modules/command-log/nav.adoc  |   1 +
 .../adoc/modules/command-log/pages/about.adoc      |   7 +-
 .../modules/command-log/partials/module-nav.adoc   |   3 +
 extensions/security/audit-trail/adoc/antora.yml    |   2 +
 .../audit-trail/adoc/modules/auditer/nav.adoc      |   1 +
 .../adoc/modules/auditer/pages/about.adoc          |   0
 .../adoc/modules/auditer/partials/module-nav.adoc  |   3 +
 extensions/security/session-log/adoc/antora.yml    |   2 +
 .../session-log/adoc/modules/session-log/nav.adoc  |   1 +
 .../adoc/modules/session-log/pages/about.adoc      |   7 +-
 .../modules/session-log/partials/module-nav.adoc   |   3 +
 .../adoc/modules/ROOT/partials/component-nav.adoc  |   1 +
 mappings/publisher/adoc/antora.yml                 |   2 +
 mappings/publisher/adoc/modules/publisher/nav.adoc |   1 +
 .../adoc/modules/publisher/pages/about.adoc        |   7 +-
 .../modules/publisher/partials/module-nav.adoc     |   3 +
 .../adoc/modules/ROOT/partials/component-nav.adoc  |   1 +
 131 files changed, 1175 insertions(+), 1352 deletions(-)

diff --git a/antora/playbooks/site-extensions.yml b/antora/playbooks/site-extensions.yml
index 704c8e5..4d8ebbf 100644
--- a/antora/playbooks/site-extensions.yml
+++ b/antora/playbooks/site-extensions.yml
@@ -24,6 +24,9 @@ content:
       start_path: extensions/core/auditer/adoc # extensions
       branches: HEAD
     - url: .
+      start_path: extensions/core/command-log/adoc # extensions
+      branches: HEAD
+    - url: .
       start_path: extensions/core/flyway/adoc # userguide
       branches: HEAD
 
diff --git a/antora/playbooks/site-mappings.yml b/antora/playbooks/site-mappings.yml
index f175bdb..d4247c6 100644
--- a/antora/playbooks/site-mappings.yml
+++ b/antora/playbooks/site-mappings.yml
@@ -27,6 +27,9 @@ content:
       start_path: mappings/minio/adoc # mappings
       branches: HEAD
     - url: .
+      start_path: mappings/publisher/adoc # mappings
+      branches: HEAD
+    - url: .
       start_path: mappings/restclient/adoc # mappings
       branches: HEAD
     - url: .
diff --git a/antora/playbooks/site-security.yml b/antora/playbooks/site-security.yml
index 1986336..54c278f 100644
--- a/antora/playbooks/site-security.yml
+++ b/antora/playbooks/site-security.yml
@@ -26,6 +26,9 @@ content:
       start_path: extensions/security/secman/adoc # security
       branches: HEAD
     - url: .
+      start_path: extensions/security/session-log/adoc # security
+      branches: HEAD
+    - url: .
       start_path: extensions/security/shiro-realm-ldap/adoc # security
       branches: HEAD
 
diff --git a/antora/playbooks/site.yml b/antora/playbooks/site.yml
index 50d0c19..6add8ff 100644
--- a/antora/playbooks/site.yml
+++ b/antora/playbooks/site.yml
@@ -87,6 +87,9 @@ content:
       start_path: extensions/core/auditer/adoc # extensions
       branches: HEAD
     - url: .
+      start_path: extensions/core/command-log/adoc # extensions
+      branches: HEAD
+    - url: .
       start_path: extensions/core/flyway/adoc # userguide
       branches: HEAD
 
@@ -94,6 +97,9 @@ content:
       start_path: extensions/security/secman/adoc # security
       branches: HEAD
     - url: .
+      start_path: extensions/security/session-log/adoc # security
+      branches: HEAD
+    - url: .
       start_path: extensions/security/shiro-realm-ldap/adoc # security
       branches: HEAD
 
@@ -152,6 +158,9 @@ content:
       start_path: mappings/minio/adoc # mappings
       branches: HEAD
     - url: .
+      start_path: mappings/publisher/adoc # mappings
+      branches: HEAD
+    - url: .
       start_path: mappings/restclient/adoc # mappings
       branches: HEAD
     - url: .
diff --git a/api/adoc/userguide/modules/btb/pages/hints-and-tips/transactions-and-errors.adoc b/api/adoc/userguide/modules/btb/pages/hints-and-tips/transactions-and-errors.adoc
index 1c07845..e546b8b 100644
--- a/api/adoc/userguide/modules/btb/pages/hints-and-tips/transactions-and-errors.adoc
+++ b/api/adoc/userguide/modules/btb/pages/hints-and-tips/transactions-and-errors.adoc
@@ -33,42 +33,38 @@ public class SomeLongRunningFixtureScript extends FixtureScript
 
 You get the idea.
 
-
 == Raise message in the UI
 
-The framework provides the xref:refguide:applib-svc:MessageService.adoc[`MessageService`] as a means to return an out-of-band
-message to the end-user.  In the xref:vw:ROOT:about.adoc[Wicket viewer] these are shown as "toast" pop-ups; the
+The framework provides the xref:refguide:applib-svc:MessageService.adoc[`MessageService`] as a means to return an out-of-band message to the end-user.
+In the xref:vw:ROOT:about.adoc[Wicket viewer] these are shown as "toast" pop-ups; the
 xref:vro:ROOT:about.adoc[Restful Objects viewer] returns an HTTP header.
 
 The `UserService` provides three APIs, for different:
 
-* `informUser()` - an informational message.  In the Wicket viewer these are short-lived pop-ups that disappear after a short time.
-* `warnUser()` - a warning.  In the Wicket viewer these do not auto-close; they must be acknowledged.
-* `raiseError()` - an error.  In the Wicket viewer these do not auto-close; they must be acknowledged.
+* `informUser()` - an informational message.
+In the Wicket viewer these are short-lived pop-ups that disappear after a short time.
+* `warnUser()` - a warning.
+In the Wicket viewer these do not auto-close; they must be acknowledged.
+* `raiseError()` - an error.
+In the Wicket viewer these do not auto-close; they must be acknowledged.
 
 Each pop-up has a different background colour indicating its severity.
 
 None of these messages/errors has any influence on the transaction; any changes to objects will be committed.
 
-
 == Aborting transactions
 
-If you want to abort Apache Isis' transaction, this can be done by throwing an exception.  The exception message
-is displayed to the user on the error page (if xref:vw:ROOT:about.adoc[Wicket viewer]) or a 500 status error code (if the
+If you want to abort Apache Isis' transaction, this can be done by throwing an exception.
+The exception message is displayed to the user on the error page (if xref:vw:ROOT:about.adoc[Wicket viewer]) or a 500 status error code (if the
 xref:vro:ROOT:about.adoc[Restful Objects] viewer).
 
-If the exception thrown is because of an unexpected error (eg a `NullPointerException` in the domain app itself), then
-the error page will include a stack trace.  If however you want to indicate that the exception is in some sense
-"expected", then throw a `RecoverableException` (or any subclass, eg `ApplicationException`); the stack trace will then
-be suppressed from the error page.
+If the exception thrown is because of an unexpected error (eg a `NullPointerException` in the domain app itself), then the error page will include a stack trace.
+If however you want to indicate that the exception is in some sense "expected", then throw a `RecoverableException` (or any subclass, eg `ApplicationException`); the stack trace will then be suppressed from the error page.
 
-Another way in which exceptions might be considered "expected" could be as the result of attempting to persist an
-object which then violates some type of database constraint.  Even if the domain application checks beforehand, it
-could be that another user operating on the object at the same moment of time might result in the conflict.
+Another way in which exceptions might be considered "expected" could be as the result of attempting to persist an object which then violates some type of database constraint.
+Even if the domain application checks beforehand, it could be that another user operating on the object at the same moment of time might result in the conflict.
 
-To handle this the xref:refguide:applib-svc:ExceptionRecognizer.adoc[`ExceptionRecognizer`] SPI can be used.  The
-framework provides a number of implementations out-of-the-box; whenever an exception is thrown it is passed to each
-known recognizer implementation to see if it recognizes the exception and can return a user-meaningful error message.
-For example, `ExceptionRecognizerForSQLIntegrityConstraintViolationUniqueOrIndexException` checks if the
-exception inherits from `java.sql.SQLIntegrityConstraintViolationException`, and if so, constructs a suitable message.
+To handle this the xref:refguide:applib-svc:ExceptionRecognizerService.adoc[`ExceptionRecognizer`] SPI can be used.
+The framework provides a number of implementations out-of-the-box; whenever an exception is thrown it is passed to each known recognizer implementation to see if it recognizes the exception and can return a user-meaningful error message.
+For example, `ExceptionRecognizerForSQLIntegrityConstraintViolationUniqueOrIndexException` checks if the exception inherits from `java.sql.SQLIntegrityConstraintViolationException`, and if so, constructs a suitable message.
 
diff --git a/api/adoc/userguide/modules/btb/pages/i18n.adoc b/api/adoc/userguide/modules/btb/pages/i18n.adoc
index e9dd592..93b65a4 100644
--- a/api/adoc/userguide/modules/btb/pages/i18n.adoc
+++ b/api/adoc/userguide/modules/btb/pages/i18n.adoc
@@ -201,7 +201,7 @@ public interface MessageService {
 
 === `TranslatableException`
 
-Another mechanism by which messages can be rendered to the user are as the result of exception messages thrown and recognized by an xref:refguide:applib-svc:ExceptionRecognizer.adoc[`ExceptionRecognizer`].
+Another mechanism by which messages can be rendered to the user are as the result of exception messages thrown and recognized by an xref:refguide:applib-svc:ExceptionRecognizerService.adoc[`ExceptionRecognizer`].
 
 In this case, if the exception implements `TranslatableException`, then the message will automatically be translated before being rendered.
 The `TranslatableException` itself takes the form:
@@ -511,7 +511,7 @@ To ensure your app is fully internationalized app, you must therefore:
 We make no apologies for this requirement: one of the reasons that we decided to implement Apache Isis' i18n support in this way is because it encourages/requires the app to be properly tested.
 
 Behind the scenes Apache Isis uses a JUnit 5 extension (`ExceptionRecognizerTranslate`) to intercept any exceptions that are thrown.
-These are simply passed through to the registered xref:refguide:applib-svc:ExceptionRecognizer.adoc[`ExceptionRecognizer`]s so that any messages are recorded as requiring translation.
+These are simply passed through to the xref:refguide:applib-svc:ExceptionRecognizerService.adoc[`ExceptionRecognizerService`]s so that any messages are recorded as requiring translation.
 ====
 
 == Escaped strings
diff --git a/api/adoc/userguide/modules/fun/pages/available-domain-services/framework-provided.adoc b/api/adoc/userguide/modules/fun/pages/available-domain-services/framework-provided.adoc
index 38bc2ae..059a886 100644
--- a/api/adoc/userguide/modules/fun/pages/available-domain-services/framework-provided.adoc
+++ b/api/adoc/userguide/modules/fun/pages/available-domain-services/framework-provided.adoc
@@ -78,8 +78,8 @@ Metamodel:
 
 Error handling:
 
-* xref:refguide:applib-svc:ErrorReportingService.adoc[`ErrorReportingService`] (SPI)
-* xref:refguide:applib-svc:ExceptionRecognizer.adoc[`ExceptionRecognizer`] (SPI)
+* xref:refguide:applib-svc:ErrorReportingService.adoc[`ErrorReportingService`]
+* xref:refguide:applib-svc:ExceptionRecognizerService.adoc[`ExceptionRecognizerService`]
 * xref:refguide:applib-svc:MessageService.adoc[`MessageService`]
 
 i18n:
diff --git a/api/adoc/userguide/modules/fun/pages/building-blocks/identifiers/oid.adoc b/api/adoc/userguide/modules/fun/pages/building-blocks/identifiers/oid.adoc
index 8e6f1e4..b242f55 100644
--- a/api/adoc/userguide/modules/fun/pages/building-blocks/identifiers/oid.adoc
+++ b/api/adoc/userguide/modules/fun/pages/building-blocks/identifiers/oid.adoc
@@ -40,3 +40,12 @@ OIDs can also be converted into XML format, useful for integration scenarios.
 The xref:refguide:schema:common.adoc[common schema] XSD defines the `oidDto` complex type for precisely this purpose.
 
 
+WARNING: TODO: v2 - tidy up this following text (moved from the BookmarkService refguide):
+
+[NOTE]
+====
+A `Bookmark` is little more than an API equivalent of Apache Isis' internal `Oid` (object identifier).
+Nevertheless, the ability to uniquely address _any_ domain object within an Apache Isis system -- to in effect provide a URN -- is immensely useful.
+
+For example, a `Bookmark` could be converted into a barcode, and then this used for automated scanning of correspondence from a customer.
+====
diff --git a/api/applib/src/main/adoc/modules/applib-ant/examples/annotation/OrderPrecedence.java b/api/applib/src/main/adoc/modules/applib-ant/examples/annotation/OrderPrecedence.java
index 26b7791..7751a58 100644
--- a/api/applib/src/main/adoc/modules/applib-ant/examples/annotation/OrderPrecedence.java
+++ b/api/applib/src/main/adoc/modules/applib-ant/examples/annotation/OrderPrecedence.java
@@ -28,7 +28,9 @@ import lombok.experimental.UtilityClass;
 public class OrderPrecedence {
 
     /**
-     * Useful constant for the highest precedence value.
+     * For domain services with the highest precedence value.
+     * No framework services use this constant, but some very fundamental services (eg for security)
+     * that are not expected to be overridden use a value that is only a little after this first value.
      *
      * @see java.lang.Integer#MIN_VALUE
      * @see Ordered#HIGHEST_PRECEDENCE
@@ -36,25 +38,25 @@ public class OrderPrecedence {
     public static final int FIRST = Ordered.HIGHEST_PRECEDENCE;
 
     /**
-     * Useful constant for the lowest precedence value.
-     *
-     * @see java.lang.Integer#MAX_VALUE
-     * @see Ordered#LOWEST_PRECEDENCE
-     */
-    public static final int LAST = Ordered.LOWEST_PRECEDENCE;
-
-    /**
-     * Used by framework services that are unlikely to be overridden by application code.
+     * For framework for services that are unlikely to be overridden by application code.
      */
     public static final int EARLY = FIRST / 2;
     /**
-     * Used by framework services that could be overridden by application code (though not commonly).
+     * For framework for services that could be overridden by application code (though not commonly).
      */
     public static final int MIDPOINT = 0;
     /**
-     * Used by framework services that are expected to be overridden by application code, or that act as a fallback.
+     * For framework services that are expected to be overridden by application code, or that act as a fallback.
      */
     public static final int LATE = OrderPrecedence.LAST / 2;
 
+    /**
+     * For domain services that act as a fallback, and which will typically be overridden.
+     *
+     * @see java.lang.Integer#MAX_VALUE
+     * @see Ordered#LOWEST_PRECEDENCE
+     */
+    public static final int LAST = Ordered.LOWEST_PRECEDENCE;
+
 }
 // end::refguide[]
diff --git a/api/applib/src/main/adoc/modules/applib-ant/pages/DomainServiceLayout/menuOrder.adoc b/api/applib/src/main/adoc/modules/applib-ant/pages/DomainServiceLayout/menuOrder.adoc
index 7dc8c7f..91e9264 100644
--- a/api/applib/src/main/adoc/modules/applib-ant/pages/DomainServiceLayout/menuOrder.adoc
+++ b/api/applib/src/main/adoc/modules/applib-ant/pages/DomainServiceLayout/menuOrder.adoc
@@ -52,7 +52,7 @@ while others come from services provided by Apache Isis itself, eg:
         menuBar = MenuBar.SECONDARY,
         menuOrder = "500.500"               // <2>
 )
-public class MetaModelServicesMenu {
+public class MetaModelServiceMenu {
     @MemberOrder(sequence="500.500.1")      // <3>
     public Clob downloadMetaModel( ... ) { /* ... */ }
     ...
diff --git a/api/applib/src/main/adoc/modules/applib-cm/examples/mixins/metamodel/Object_downloadMetaModelXml.java b/api/applib/src/main/adoc/modules/applib-cm/examples/mixins/metamodel/Object_downloadMetaModelXml.java
index c7d59f5..c07bca4 100644
--- a/api/applib/src/main/adoc/modules/applib-cm/examples/mixins/metamodel/Object_downloadMetaModelXml.java
+++ b/api/applib/src/main/adoc/modules/applib-cm/examples/mixins/metamodel/Object_downloadMetaModelXml.java
@@ -33,7 +33,7 @@ import org.apache.isis.applib.annotation.SemanticsOf;
 import org.apache.isis.applib.mixins.MixinConstants;
 import org.apache.isis.applib.services.jaxb.JaxbService;
 import org.apache.isis.applib.services.metamodel.MetaModelService;
-import org.apache.isis.applib.services.metamodel.MetaModelServicesMenu;
+import org.apache.isis.applib.services.metamodel.MetaModelServiceMenu;
 import org.apache.isis.applib.value.Clob;
 import org.apache.isis.applib.value.NamedWithMimeType.CommonMimeType;
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/examples/services/metamodel/MetaModelService.java b/api/applib/src/main/adoc/modules/applib-svc/examples/services/metamodel/MetaModelService.java
index ecb80b3..6d820b0 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/examples/services/metamodel/MetaModelService.java
+++ b/api/applib/src/main/adoc/modules/applib-svc/examples/services/metamodel/MetaModelService.java
@@ -59,7 +59,7 @@ public interface MetaModelService {
      * Returns a list of representations of each of member of each domain class.
      *
      * <p>
-     *     Used by {@link MetaModelServicesMenu} to return a downloadable CSV.
+     *     Used by {@link MetaModelServiceMenu} to return a downloadable CSV.
      * </p>
      *
      * <p>
diff --git a/api/applib/src/main/adoc/modules/applib-svc/images/reference-services/categories.png b/api/applib/src/main/adoc/modules/applib-svc/images/reference-services/categories.png
index 3186c3a..9b90f98 100644
Binary files a/api/applib/src/main/adoc/modules/applib-svc/images/reference-services/categories.png and b/api/applib/src/main/adoc/modules/applib-svc/images/reference-services/categories.png differ
diff --git a/api/applib/src/main/adoc/modules/applib-svc/images/reference-services/categories.pptx b/api/applib/src/main/adoc/modules/applib-svc/images/reference-services/categories.pptx
index 9c5ec20..60148c8 100644
Binary files a/api/applib/src/main/adoc/modules/applib-svc/images/reference-services/categories.pptx and b/api/applib/src/main/adoc/modules/applib-svc/images/reference-services/categories.pptx differ
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/AuditerService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/AuditerService.adoc
index 2939331..e199834 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/AuditerService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/AuditerService.adoc
@@ -36,8 +36,27 @@ The framework allows multiple implementations of this service to be registered;
 There are two implementations provided by the framework:
 
 * The core framework provides the `AuditerServiceLogging` (in `o.a.i.applib.services.audit` package).
-This simply logs the messages to a link:https://logging.apache.org/log4j/log4j-2.2/manual/configuration.html[LOG4J2] logger.
+This simply logs the messages to a link:https://logging.apache.org/log4j/log4j-2.2/manual/configuration.html[Log4j2] logger.
++
+[source,xml]
+.log4j2-spring.xml
+----
+<?xml version="1.0" encoding="UTF-8"?>
+<Configuration status="WARN">
+  <Properties> ... </Properties>
+  <Appenders> ... </Appenders>
+  <Loggers>
+    ...
+    <logger
+      name="org.apache.isis.applib.services.audit.AuditerServiceLogging"
+      level="debug"/>
+    ...
+  </Loggers>
+</Configuration>
+----
++
+See the `log4j2-spring.xml` file in xref:docs:starters:simpleapp.adoc[simpleapp] for the omitted detail.
 
-* the xref:extensions:ROOT:about.adoc[AuditerServiceUsingJdo] in the xref:extensions:ROOT:about.adoc[Extensions catalog] persists each audit record in a relational table.
+* the xref:security:audit-trail:about.adoc[Audit Trail] extension persists each audit record in a relational table.
 As its name implies, it uses xref:pjdo:ROOT:about.adoc[JDO/DataNucleus] to do this.
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/Bookmark.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/Bookmark.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/Bookmark.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkHolder_lookup.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkHolder_lookup.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkHolder_lookup.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkHolder_object.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkHolder_object.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkHolder_object.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkService.adoc
index 5330bae..33b3574 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkService.adoc
@@ -1,10 +1,10 @@
-[[BookmarkService]]
 = `BookmarkService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
-The `BookmarkService2` domain service (and its various supertypes) provides the ability to obtain a serializable ``o.a.i.applib.bookmarks.Bookmark`` for any (persisted) domain object, and to lookup domain objects given a ``Bookmark``.  This can then in turn be converted to and from a string.
+The `BookmarkService` domain service (and its various supertypes) provides the ability to obtain a serializable ``o.a.i.applib.bookmarks.Bookmark`` for any (persisted) domain object, and to lookup domain objects given a ``Bookmark``.
+This can then in turn be converted to and from a string.
 
 For example, a `Customer` object with:
 
@@ -13,26 +13,17 @@ For example, a `Customer` object with:
 
 could correspond to a `Bookmark` with a string representation of `custmgmt.Customer|123`.
 
-[NOTE]
-====
-A `Bookmark` is little more than an API equivalent of Apache Isis' internal `Oid` (object identifier).  Nevertheless, the ability to uniquely address _any_ domain object within an Apache Isis system -- to in effect provide a URN -- is immensely useful.
+``Bookmark``s are useful to store a reference to an arbitrary object, although be aware that there is no referential integrity.
 
-For example, a `Bookmark` could be converted into a barcode, and then this used for automated scanning of correspondence from a customer.
-====
+Several of the extension libraries use bookmarks.
+For example the xref:refguide:applib-svc:AuditerService.adoc[`AuditerService`] uses bookmarks to identify the object that is being modified.
 
-``Bookmark``s are used by several other domain services as a means of storing a reference to an arbitrary object
-(a polymorphic relationship).  For example, the (non-ASF) link:https://platform.incode.org[Incode Platform^]'s auditing module's implementation of xref:refguide:applib-svc:AuditerService.adoc[`AuditerService`] uses bookmarks to capture the object that is being audited.
+Serialized form of bookmarks also appear within  xref:refguide:schema:about.adoc[schema] instances, for example as used by xref:refguide:applib-svc:CommandService.adoc[`CommandService`] and the xref:refguide:applib-svc:PublisherService.adoc[`PublisherService`].
 
-[TIP]
-====
-One downside of using ``Bookmark``s is that there is no way for the JDO/DataNucleus objectstore to enforce any kind of referental integrity.
-However, the (non-ASF) link:https://platform.incode.org[Incode Platform^]'s poly module describes and supports a design pattern to address this requirement.
-====
+//Bookmarks are also used by the (non-ASF) link:https://platform.incode.org[Incode Platform^]'s command module's implementation of  xref:refguide:applib-svc:_BackgroundCommandService.adoc[`BackgroundCommandService`], which uses a bookmark to capture the target object on which an action will be invoked subsequently.
 
 
-
-
-== API & Implementation
+== API
 
 The API defined by `BookmarkService` is:
 
@@ -40,62 +31,38 @@ The API defined by `BookmarkService` is:
 ----
 include::refguide:applib-svc:example$services/bookmark/BookmarkService.java[tags="refguide"]
 ----
+
 <.> same as `lookup(Bookmark bookmark)`, but downcasts to the specified type.
 
+== Implementation
 
 The core framework provides a default implementation of this API, namely `o.a.i.core.metamodel.services.bookmarks.BookmarkServiceInternalDefault`
 
-To use an alternative implementation, implement `BookmarkService` interface and use Spring's link:https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/annotation/Order.html[`@Order`] annotation (as explained in the xref:refguide:applib-svc:about.adoc#overriding-the-services.adoc[introduction] to this guide).
-
-
-
 
 == `BookmarkHolder`
 
-The `BookmarkHolder` interface is intended to be implemented by domain objects that use a `Bookmark` to reference a (single) domain object; an example might be a class such as the audit entry, mentioned above.  The interface is simply:
-
-
-[source,java]
-----
-public interface BookmarkHolder {
-    @Programmatic
-    Bookmark bookmark();
-}
-
-----
-
-There are two services that will contribute to this interface:
-
-* `BookmarkHolderActionContributions` will provide a `lookup(...)` action
-* `BookmarkHolderAssociationContributions` provides an `object` property.
-
-Either of these can be suppressed, if required, using a vetoing subscriber.  For example, to suppress the `object` property (so that only the `lookup(...)` action is ever shown for implementations of `BookmarkHolder`, define:
+The `BookmarkHolder` interface is intended to be implemented by domain objects that use a `Bookmark` to reference a (single) domain object; an example might be a class such as the audit entry, mentioned above.
+The interface is simply:
 
 [source,java]
 ----
-import org.springframework.context.event.EventListener;
-
-@DomainService(nature=NatureOfService.DOMAIN)
-public class AlwaysHideBookmarkHolderAssociationsObjectProperty
-                                            extends AbstractSubscriber{
-    @EventListener(BookmarkHolderAssociationContributions.ObjectDomainEvent.class)
-    public void on(BookmarkHolderAssociationContributions.ObjectDomainEvent ev) {
-        ev.hide();
-    }
-}
+include::refguide:applib-svc:example$services/bookmark/BookmarkHolder.java[tags="refguide"]
 ----
 
-A more sophisticated implementation could look inside the passed `ev` argument and selectively hide or not based on the contributee.
-
-
-
+There are two mixins that will contribute to this interface:
 
-== Usage by other services
+* `BookmarkHolder_lookup`
++
+which contributes a `lookup` action to return the referenced object
 
-//Bookmarks are used by the (non-ASF) link:https://platform.incode.org[Incode Platform^]'s command module's implementation of  xref:refguide:applib-svc:_BackgroundCommandService.adoc[`BackgroundCommandService`], which uses a bookmark to capture the target object on which an action will be invoked subsequently.
+* `BookmarkHolder_object`
++
+which contributes instead an `object` property, being the referenced object.
 
-Bookmarks are also used by the (non-ASF) link:https://platform.incode.org[Incode Platform^]'s auditing module's implementation of xref:refguide:applib-svc:AuditerService.adoc[`AuditerService`].
+Either of these can be suppressed, if required, using a vetoing subscriber that listens to the action or property domain event in order to hide the member.
 
 
 
+== Related Services
 
+The xref:refguide:applib-svc:BookmarkUiService.adoc[`BookmarkUiService`]
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkUiService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkUiService.adoc
index fb76a4e..520e7c5 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkUiService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/BookmarkUiService.adoc
@@ -1,17 +1,13 @@
-[[BookmarkUiService]]
 = `BookmarkUiService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
-
 The `BookmarkUiService` provides the ability to programmatically interact with bookmarked pages and breadcrumbs, as rendered by the Wicket viewer.
 
-One possible use case is programmatically to support multiple "contexts" and allow the end-user to switch from one context to another.
-
 
 
-== API & Implementation
+== API
 
 The API defined by `BookmarkUiService` is:
 
@@ -23,6 +19,9 @@ public interface BookmarkUiService {
 ----
 <1> Simply clears the current list of breadcrumbs and bookmarks.
 
+
+== Implementation
+
 The xref:vw:ROOT:about.adoc[Wicket viewer] provides an implementation of this service, `o.a.i.viewer.wicket.viewer.services.BookmarkUiServiceWicket`.
 
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/CatalogingSchemaOutputResolver.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/CatalogingSchemaOutputResolver.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/CatalogingSchemaOutputResolver.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandContext.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/CommandContext.adoc
index af9470e..1e34f7a 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandContext.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/CommandContext.adoc
@@ -1,4 +1,3 @@
-[[CommandContext]]
 = `CommandContext`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandDtoProcessor.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/CommandDtoProcessor.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandDtoProcessor.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandDtoProcessorService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/CommandDtoProcessorService.adoc
index 8b13789..5a9500f 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandDtoProcessorService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/CommandDtoProcessorService.adoc
@@ -1 +1,7 @@
+= `CommandDtoProcessorService`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
 
+WARNING: TODO - v2 : to document.  It's possible this might become redundant if CommandDto is rolled up into Command.
+
+Also discuss `CommandDtoProcessor`.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandExecutorService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/CommandExecutorService.adoc
index dcb6c83..47d07da 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandExecutorService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/CommandExecutorService.adoc
@@ -1,4 +1,3 @@
-[[CommandExecutorService]]
 = `CommandExecutorService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandWithDto.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/CommandWithDto.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/CommandWithDto.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationMenu.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationMenu.adoc
index 8b13789..1a4aeab 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationMenu.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationMenu.adoc
@@ -1 +1,8 @@
+= `ConfigurationMenu`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+
+WARNING: TODO: v2: to document - UI to surface ConfigurationViewService; returns `ConfigurationProperty` view model.
+
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationProperty.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationProperty.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationProperty.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
index 49d55d7..8aaa1dd 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
@@ -1,8 +1,8 @@
-[[ConfigurationViewService]]
 = `ConfigurationViewService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
-// TODO: v2: to document.
+WARNING: TODO: v2: to document - backing service for ConfigurationMenu; returns `ConfigurationProperty` view model.  Only returns `isis.\*` and `resteasy.*`
+
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ContentMappingServiceForCommandDto.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ContentMappingServiceForCommandDto.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ContentMappingServiceForCommandDto.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ContentMappingServiceForCommandsDto.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ContentMappingServiceForCommandsDto.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ContentMappingServiceForCommandsDto.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/DomainMember.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/DomainMember.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/DomainMember.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/DomainModel.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/DomainModel.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/DomainModel.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/EntityState.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/EntityState.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/EntityState.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ErrorDetails.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ErrorDetails.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ErrorDetails.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ErrorReportingService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ErrorReportingService.adoc
index 2d69f99..f83481c 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ErrorReportingService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/ErrorReportingService.adoc
@@ -1,4 +1,3 @@
-[[ErrorReportingService]]
 = `ErrorReportingService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
@@ -35,7 +34,7 @@ public class ErrorDetails {
 ----
 <1> the main message to be displayed to the end-user.
 The service is responsible for translating this into the language of the end-user (it can use xref:refguide:applib-svc:LocaleProvider.adoc[`LocaleProvider`] if required).
-<2> whether this message has already been recognized by an xref:refguide:applib-svc:ExceptionRecognizer.adoc[`ExceptionRecognizer`] service.
+<2> whether this message has already been recognized by an xref:refguide:applib-svc:ExceptionRecognizerService.adoc[`ExceptionRecognizer`] service.
 Generally this converts potentially non-recoverable (fatal) exceptions into recoverable exceptions (warnings) as well providing an alternative mechanism for generating user-friendly error messages.
 <3> whether the cause of the exception was due to a lack of privileges.
 In such cases the UI restricts the information shown to the end-user, to avoid leaking potentially sensitive information
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizer.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizer.adoc
index eee427d..2f694a2 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizer.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizer.adoc
@@ -1,4 +1,3 @@
-[[ExceptionRecognizer]]
 = `ExceptionRecognizer`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
@@ -88,6 +87,9 @@ The recognizer implementation can therefore be as fine-grained or as coarse-grai
 
 == Implementation
 
+WARNING: TODO: v2 - this is out of date; we've teased apart ExceptionRecognizer from ExceptionRecognizerService.
+There is also ExceptionRecognizerForType as an impl.
+
 The framework provides two default implementations:
 
 * `o.a.i.core.metamodel.services.exceprecog.ExceptionRecognizerDocDefault` provided by Apache Isis core is itself an `ExceptionRecognizer`, and will handle ``ConcurrencyException``s.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizerForType.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizerForType.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizerForType.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizerService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizerService.adoc
index 8b13789..337c14c 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizerService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/ExceptionRecognizerService.adoc
@@ -1 +1,149 @@
+= `ExceptionRecognizerService`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+
+The `ExceptionRecognizerService` service provides the mechanism for both the domain programmer and also for components to be able to recognize and handle certain exceptions that may be thrown by the system.
+Rather than display an obscure error to the end-user, the application can instead display a user-friendly message.
+
+For example, the JDO/DataNucleus Objectstore provides a set of recognizers to recognize and handle SQL constraint exceptions such as uniqueness violations.
+These can then be rendered back to the user as expected errors, rather than fatal stacktraces.
+
+It is also possible to provide additional implementations, registered in `isis.properties`.
+Unlike other services, where any service registered in `isis.properties` replaces any default implementations, in the case of this service all implementations registered are "consulted" to see if they recognize an exception (the chain-of-responsibility pattern).
+
+
+
+
+== SPI
+
+The SPI defined by this service is:
+
+[source,java]
+----
+public interface ExceptionRecognizer ... {
+    public enum Category {                          // <1>
+        ...
+    }
+    public static class Recognition {               // <2>
+        private Category category;
+        private String reason;
+        ...
+    }
+    @Programmatic
+    public Recognition recognize2(Throwable ex);    // <3>
+
+    @Deprecated
+    @Programmatic
+    public String recognize(Throwable ex);          // <4>
+
+}
+----
+<1> an enumeration of varies categories of exceptions that are recognised
+<2> represents the fact that an exception has been recognized as has been converted into a user-friendy message, and has been categorized
+<3> the main API, to attempt to recognize an exception
+<4> deprecated API which converted exceptions into strings (reasons), ie without any categorization.
+This is no longer called.
+
+
+The categories are:
+
+[source,java]
+----
+public interface ExceptionRecognizer ... {
+    public enum Category {
+        CONSTRAINT_VIOLATION,           // <1>
+        NOT_FOUND,                      // <2>
+        CONCURRENCY,                    // <3>
+        CLIENT_ERROR,                   // <4>
+        SERVER_ERROR,                   // <5>
+        OTHER                           // <6>
+    }
+    ...
+}
+
+----
+<1> a violation of some declarative constraint (eg uniqueness or referential integrity) was detected.
+<2> the object to be acted upon cannot be found (404)
+<3> a concurrency exception, in other words some other user has changed this object.
+<4> recognized, but for some other reason... 40x error
+<5> 50x error
+<6> recognized, but uncategorized (typically: a recognizer of the original `ExceptionRecognizer` API).
+
+
+In essence, if an exception is recognized then it is also categorized.
+This lets the viewer act accordingly.
+For example, if an exception is raised from the loading of an individual object, then this is passed by the registered ``ExceptionRecognizer``s.
+If any of these recognize the exception as representing a not-found exception, then an Apache Isis `ObjectNotFoundException` is raised.
+Both the viewers interprets this correctly (the xref:vw:ROOT:about.adoc[Wicket viewer] as a suitable error page, the xref:vro:ROOT:about.adoc[Restful Objects viewer] as a 404 status return code).
+
+
+If the implementation recognizes the exception then it returns a user-friendly message to be rendered (by the viewer) back to the user; otherwise it returns `null`.
+There is no need for the implementation to check for exception causes; the casual chain is unwrapped by Apache Isis core and each exception in the chain will also be passed through to the recognizer (from most specific to least).
+The recognizer implementation can therefore be as fine-grained or as coarse-grained as it wishes.
+
+
+
+
+== Implementation
+
+The framework provides two default implementations:
+
+* `o.a.i.core.metamodel.services.exceprecog.ExceptionRecognizerDocDefault` provided by Apache Isis core is itself an `ExceptionRecognizer`, and will handle ``ConcurrencyException``s.
++
+It will also handle any application exceptions raised by the system (subclasses of `o.a.i.applib.RecoverableException`).
+
+* `o.a.i.applib.services.exceprecog.jdo.ExceptionRecognizerCompositeForJdoObjectStore`
++
+which bundles up a number of more fine-grained implementations:
++
+** `ExceptionRecognizerForSQLIntegrityConstraintViolationUniqueOrIndexException`
+** `ExceptionRecognizerForJDOObjectNotFoundException`
+** `ExceptionRecognizerForJDODataStoreException`
+
+
+If you want to recognize and handle additional exceptions (for example to capture error messages specific to the JDBC driver you might be using), then create a fine-grained implementation of `ExceptionRecognizer` for the particular error message (there are some convenience implementations of the interface that you can subclass from if required) and annotated with `@DomainService` in the usual way.
+Make sure that the service resides under a module registered in `AppManifest`.
+
+
+
+=== Configuration Properties
+
+The following configuration properties are relevant:
+
+[cols="2a,1,3a", options="header"]
+|===
+|Property
+|Value +
+(default value)
+|Description
+
+| `isis.services.` +
+`exceprecog.` +
+`logRecognized` +
+`Exceptions` +
+|`true`,`false` +
+(`false`)
+|whether recognized exceptions should also be logged. +
+
+Generally a recognized exception is one that is expected (for example a uniqueness constraint violated in the database) and which does not represent an error condition.
+This property logs the exception anyway, useful for debugging.
+
+This is recognised by all implementations that subclass `ExceptionRecognizerAbstract`.
+
+| `isis.services.` +
+`ExceptionRecognizer` +
+`CompositeFor` +
+`JdoObjectStore.` +
+`disable` +
+|`true`,`false` +
+(`false`)
+|whether to disable the default recognizers registered by `ExceptionRecognizerCompositeForJdoObjectStore`. +
+
+This implementation provides a default set of recognizers to convert RDBMS constraints into user-friendly messages.
+In the (probably remote) chance that this functionality isn't required, they can be disabled through this flag.
+
+
+|===
+
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/FactoryService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/FactoryService.adoc
index 2918c98..c8de285 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/FactoryService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/FactoryService.adoc
@@ -1,4 +1,3 @@
-[[FactoryService]]
 = `FactoryService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/GridLoaderService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/GridLoaderService.adoc
index 2f1a637..81965d0 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/GridLoaderService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/GridLoaderService.adoc
@@ -1,4 +1,3 @@
-[[GridLoaderService]]
 = `GridLoaderService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/GridSystemService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/GridSystemService.adoc
index 82ab6cb..3303a25 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/GridSystemService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/GridSystemService.adoc
@@ -1,4 +1,3 @@
-[[GridSystemService]]
 = `GridSystemService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/GuiceBeanProvider.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/GuiceBeanProvider.adoc
deleted file mode 100644
index 5f1a723..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/GuiceBeanProvider.adoc
+++ /dev/null
@@ -1,87 +0,0 @@
-[[GuiceBeanProvider]]
-= `GuiceBeanProvider`
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-
-TODO: v2: this service has been deleted - remove this doc and update the migration guide.
-
-The `GuiceBeanProvider` domain service acts as a bridge between Apache Isis' xref:vw:ROOT:about.adoc[Wicket viewer] internal bootstrapping using link:https://github.com/google/guice[Google Guice].
-
-This service operates at a very low-level, and you are unlikely to have a need for it.
-It is used internally by the framework, in the default implementation of the xref:refguide:applib-svc:DeepLinkService.adoc[`DeepLinkService`].
-
-[NOTE]
-====
-Currently Apache Isis uses a combination of Guice (within the Wicket viewer only) and a home-grown dependency injection framework.
-In future versions we intended to refactor the framework to use CDI throughout.
-At that time this service is likely to become redundant because we will allow any of the internal components of Apache Isis to be injected into your domain object code.
-====
-
-
-== API & Implementation
-
-The API defined by this service is:
-
-[source,java]
-----
-public interface GuiceBeanProvider {
-    @Programmatic
-    <T> T lookup(Class<T> beanType);
-    @Programmatic
-    <T> T lookup(Class<T> beanType, final Annotation qualifier);
-}
-----
-
-The xref:vw:ROOT:about.adoc[Wicket viewer] this provides a default implementation of this service.
-
-To use an alternative implementation, implement the `GuideBeanProvider` interface and use Spring's link:https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/annotation/Order.html[`@Order`] annotation (as explained in the xref:refguide:applib-svc:about.adoc#overriding-the-services.adoc[introduction] to this guide).
-
-
-
-
-== Usage
-
-Using the xref:vw:ROOT:about.adoc[Wicket viewer] requires subclassing of `IsisWicketApplication`.
-In the subclass it is commonplace to override `newIsisWicketModule()`, for example:
-
-[source,java]
-----
-@Override
-protected Module newIsisWicketModule() {
-    final Module isisDefaults = super.newIsisWicketModule();
-    final Module overrides = new AbstractModule() {
-        @Override
-        protected void configure() {
-            bind(String.class).annotatedWith(Names.named("applicationName"))
-                              .toInstance("ToDo App");
-            bind(String.class).annotatedWith(Names.named("applicationCss"))
-                              .toInstance("css/application.css");
-            bind(String.class).annotatedWith(Names.named("applicationJs"))
-                              .toInstance("scripts/application.js");
-            ...
-        }
-    };
-    return Modules.override(isisDefaults).with(overrides);
-}
-----
-
-This "module" is in fact a Guice module, and so the `GuiceBeanProvider` service can be used to lookup any of the components bound into it.
-
-For example:
-
-[source,java]
-----
-public class SomeDomainObject {
-    private String lookupApplicationName() {
-        return guiceBeanProvider.lookup(String.class, Names.named("applicationName"));
-    }
-    @Inject
-    GuiceBeanProvider guiceBeanProvider;
-}
-----
-
-should return "ToDo App".
-
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/Interaction.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/Interaction.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/Interaction.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/InteractionContext.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/InteractionContext.adoc
index 08845ca..ac366c9 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/InteractionContext.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/InteractionContext.adoc
@@ -1,4 +1,3 @@
-[[InteractionContext]]
 = `InteractionContext`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/LayoutService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/LayoutService.adoc
index 5407ca9..2ac040d 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/LayoutService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/LayoutService.adoc
@@ -1,14 +1,11 @@
-[[LayoutService]]
 = `LayoutService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
 
-The `LayoutService` provides the ability to obtain the XML layout for a single domain object or for all domain
-objects.  This functionality is surfaced through the user interface through a related xref:refguide:applib-svc:LayoutService.adoc#related-mixins-and-menus[mixin and menu action].
-
-
+The `LayoutService` provides the ability to obtain the XML layout for a single domain object or for all domain objects.
+This functionality is surfaced through the user interface through a related xref:refguide:applib-svc:LayoutService.adoc#related-mixins-and-menus[mixin and menu action].
 
 == API & Implementation
 
@@ -41,7 +38,7 @@ The other three styles allow the developer to choose how much metadata is to be
 The table below summarises the choices:
 
 .Table caption
-[cols="<.>,^.>,^.>,^.>", options="header"]
+[cols="<.>,^.>,^.>,^.>",options="header"]
 |===
 
 | Style
@@ -71,32 +68,28 @@ The table below summarises the choices:
 
 As a developer, you therefore have a choice as to how you provide the metadata required for customised layouts:
 
-* if you want all layout metadata to be read from the `.layout.xml` file, then download the "complete" version, and copy the file alongside the domain class.  You can then remove all `@MemberGroupLayout`, `@MemberOrder`, `@ActionLayout`, `@PropertyLayout` and `@CollectionLayout` annotations from the source code of the domain class.
-
-* if you want to use layout XML file to describe the grid (columns, tabs etc) and specify which object members are associated with those regions of the grid, then download the "normalized" version.  You can then remove the `@MemberGroupLayout` and `@MemberOrder` annotations from the source code of the domain class, but retain the `@ActionLayout`, `@PropertyLayout` and `@CollectionLayout` annotations.
-
-* if you want to use layout XML file ONLY to describe the grid, then download the "minimal" version.  The grid regions will be empty in this version, and the framework will use the `@MemberOrder` annotation to bind object members to those regions.  The only annotation that can be safely removed from the source code with this style is the `@MemberGroupLayout` annotation.
-
+* if you want all layout metadata to be read from the `.layout.xml` file, then download the "complete" version, and copy the file alongside the domain class.
+You can then remove all `@MemberGroupLayout`, `@MemberOrder`, `@ActionLayout`, `@PropertyLayout` and `@CollectionLayout` annotations from the source code of the domain class.
 
+* if you want to use layout XML file to describe the grid (columns, tabs etc) and specify which object members are associated with those regions of the grid, then download the "normalized" version.
+You can then remove the `@MemberGroupLayout` and `@MemberOrder` annotations from the source code of the domain class, but retain the `@ActionLayout`, `@PropertyLayout` and `@CollectionLayout` annotations.
 
+* if you want to use layout XML file ONLY to describe the grid, then download the "minimal" version.
+The grid regions will be empty in this version, and the framework will use the `@MemberOrder` annotation to bind object members to those regions.
+The only annotation that can be safely removed from the source code with this style is the `@MemberGroupLayout` annotation.
 
 == Related Mixins and Menus
 
 The service's functionality is exposed in the UI through a mixin (per object) and a menu action (for all objects):
 
-* the xref:refguide:applib-cm:classes/mixins.adoc#Object[`Object` mixin] provides the ability to download the XML layout for
-any domain object (entity or view model).
-
-* the `LayoutServiceMenu` provides the ability to download all XML layouts as a single ZIP file (in any of the
-three styles).
-
-The XML can then be copied into the codebase of the application, and annotations in the domain classes removed as
-desired.
+* the xref:refguide:applib-cm:classes/mixins.adoc#Object[`Object` mixin] provides the ability to download the XML layout for any domain object (entity or view model).
 
+* the `LayoutServiceMenu` provides the ability to download all XML layouts as a single ZIP file (in any of the three styles).
 
+The XML can then be copied into the codebase of the application, and annotations in the domain classes removed as desired.
 
 == Related Domain Services
 
-The xref:refguide:applib-svc:GridService.adoc[`GridService`] is responsible for loading and normalizing layout XML for
-a domain class.  It in turn uses the xref:refguide:applib-svc:GridLoaderService.adoc[`GridLoaderService`] and  xref:refguide:applib-svc:GridSystemService.adoc[`GridSystemService`]
+The xref:refguide:applib-svc:GridService.adoc[`GridService`] is responsible for loading and normalizing layout XML for a domain class.
+It in turn uses the xref:refguide:applib-svc:GridLoaderService.adoc[`GridLoaderService`] and  xref:refguide:applib-svc:GridSystemService.adoc[`GridSystemService`]
 services.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/LayoutServiceMenu.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/LayoutServiceMenu.adoc
index 8b13789..027fe46 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/LayoutServiceMenu.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/LayoutServiceMenu.adoc
@@ -1 +1,6 @@
+= `LayoutServiceMenu`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
 
+
+WARNING: TODO: v2 - to document.  Just exposes LayoutServiec in the UI.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/MenuBarsLoaderService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/MenuBarsLoaderService.adoc
index 09353ab..b05fffa 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/MenuBarsLoaderService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/MenuBarsLoaderService.adoc
@@ -1,4 +1,3 @@
-[[MenuBarsLoaderService]]
 = `MenuBarsLoaderService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
@@ -7,7 +6,6 @@
 
 The `MenuBarsLoaderService` is used by the default implementation of xref:refguide:applib-svc:MenuBarsService.adoc[MenuBarsService] to return a a xref:refguide:applib-cm:classes/menubars.adoc[`MenuBars`] instance deserialized from the `menubars.layout.xml` file read from the classpath.
 
-
 == SPI and Implementation
 
 The SPI defined by this service is:
@@ -23,7 +21,6 @@ public interface MenuBarsLoaderService {
 If not, then the xref:refguide:applib-svc:MenuBarsService.adoc[MenuBarsService] will cache the layout once loaded.
 <2> Returns a new instance of `MenuBars` if possible, otherwise null.
 
-
 The framework provides a default implementation of this service, namely `o.a.i.core.runtime.services.menu.MenuBarsLayoutServiceDefault`.
 
 This searches for a file resource `menubars.layout.xml`, expected to reside in the same package as the `AppManifest` used to bootstrap the application.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/MenuBarsService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/MenuBarsService.adoc
index fc50024..bb7c108 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/MenuBarsService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/MenuBarsService.adoc
@@ -1,4 +1,3 @@
-[[MenuBarsService]]
 = `MenuBarsService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
@@ -8,8 +7,6 @@
 The `MenuBarsService` is responsible for returning a xref:refguide:applib-cm:classes/menubars.adoc[`MenuBars`] instance, a data structure representing the arrangement of domain service actions across multiple menu bars, menus and sections.
 This is used by the Wicket viewer to build up the menu, and is also served as the "menuBars" resource by the xref:vro:ROOT:about.adoc[Restful Objects] viewer.
 
-
-
 == SPI and Implementation
 
 The SPI defined by this service is:
@@ -29,6 +26,5 @@ public interface MenuBarsService {
 <2> Convenience API to return the default `MenuBars` instance
 <3> Returns an instance of `MenuBars` according the specified strategy.
 
-
 The framework provides a default implementation of this service, namely `o.a.i.core.runtime.services.menu.MenuBarsServiceDefault`.
 This uses the xref:refguide:applib-svc:MenuBarsLoaderService.adoc[MenuBarsLoaderService] to load a serialized form of `MenuBars` instance, called `menubars.layout.xml`, from the classpath.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelService_.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelService.adoc
similarity index 98%
rename from api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelService_.adoc
rename to api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelService.adoc
index f3c83ac..6d5de59 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelService_.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelService.adoc
@@ -1,4 +1,3 @@
-[[MetamodelService]]
 = `MetaModelService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
@@ -54,20 +53,13 @@ public interface MetaModelService {
 }
 ----
 <1> reverse lookup of a domain class' object type
-
 <2> lookup of a domain class' object type
-
 <3> invalidate and rebuild the internal metadata (an `ObjectSpecification`) for the specified domain type.
-
 <4> returns a list of representations of each of member of each domain class.
-
 <5> what sort of object a domain type is (or bookmark) represents
-
 <6> whether to throw an exception or return `Sort.UNKNOWN` if the object type is not recognized.  (The overloads with no `Mode` parameter default to strict mode).
-
 <7> returns the `AppManifest` used to bootstrap the application.
 If an `AppManifest2` was used (from a `Module`), then this is also returned (else just `null`).
-
 <8> obtain an implementation of `CommandDtoProcessor` (if any) as per an xref:refguide:applib-ant:Action.adoc#command[`@Action#commandDtoProcessor()`] or xref:refguide:applib-ant:Property.adoc#command[`@Property#commandDtoProcessor()`].
 +
 This is used by the xref:refguide:applib-svc:ContentMappingService.adoc#implementations[framework-provided implementations] of `ContentMappingService`.
@@ -77,11 +69,15 @@ This is used by the xref:refguide:applib-svc:ContentMappingService.adoc#implemen
 The `Config` property specifies which package(s) to include and can be used to ignore certain elements.
 
 
+
+
 == Implementation
 
 The framework provides a default implementation of this service, `o.a.i.c.m.services.metamodel.MetaModelServiceDefault`.
 
 
+WARNING: TODO: v2 - discuss `DomainModel`; discuss `DomainMember` in more depth
+
 
 == Related Services
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelServiceMenu.adoc
similarity index 89%
copy from api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
copy to api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelServiceMenu.adoc
index 49d55d7..fd02ee3 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelServiceMenu.adoc
@@ -1,8 +1,5 @@
-[[ConfigurationViewService]]
-= `ConfigurationViewService`
+= `MetaModelServiceMenu`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
-
-// TODO: v2: to document.
-
+WARNING: TODO: v2 - to document.  Supporting UI for MetaModelService.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelServicesMenu.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelServicesMenu.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/MetaModelServicesMenu.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/PublishedObjects.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/PublishedObjects.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/PublishedObjects.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/PublisherService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/PublisherService.adoc
index 9cd4ca2..5cb1aa4 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/PublisherService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/PublisherService.adoc
@@ -1,4 +1,3 @@
-[[PublisherService]]
 = `PublisherService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
@@ -61,21 +60,36 @@ public interface PublishedObjects extends HasUniqueId, HasUsername {
 == Implementations
 
 The framework allows multiple implementations of this service to be registered; all will be called.
-The framework provides one implementation of its own, `PublisherServiceLogging` (in `o.a.i.applib.services.publish` package); this logs "deep" serializations to an SLF4J logger.
 
-For example, this can be configured to write to a separate log file by adding the following to `logging.properties`:
+There are two implementations provided by the framework:
 
-[source,ini]
+* The core framework provides one implementation of its own, `PublisherServiceLogging` (in `o.a.i.applib.services.publish` package).
+This logs serializations to a link:https://logging.apache.org/log4j/log4j-2.2/manual/configuration.html[Log4j2] logger
++
+[source,xml]
+.log4j2-spring.xml
 ----
-log4j.appender.PublisherServiceLogging=org.apache.log4j.FileAppender
-log4j.appender.PublisherServiceLogging.File=./logs/PublisherServiceLogging.log
-log4j.appender.PublisherServiceLogging.Append=false
-log4j.appender.PublisherServiceLogging.layout=org.apache.log4j.PatternLayout
-log4j.appender.PublisherServiceLogging.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %m%n
-
-log4j.logger.org.apache.isis.applib.services.publish.PublisherServiceLogging=DEBUG,PublisherServiceLogging
-log4j.additivity.org.apache.isis.applib.services.publish.PublisherServiceLogging=false
+<?xml version="1.0" encoding="UTF-8"?>
+<Configuration status="WARN">
+  <Properties> ... </Properties>
+  <Appenders> ... </Appenders>
+  <Loggers>
+    ...
+    <logger
+      name="org.apache.isis.applib.services.publish.PublisherServiceLogging"
+      level="debug"/>
+    ...
+  </Loggers>
+</Configuration>
 ----
++
+See the `log4j2-spring.xml` file in xref:docs:starters:simpleapp.adoc[simpleapp] for the omitted detail.
+
+* the xref:mappings:publisher:about.adoc[PublisherServiceOutboxJdo] in the xref:mappings:ROOT:about.adoc[Mappings catalog] persists each interaction into a link:https://microservices.io/patterns/data/transactional-outbox.html[outbox table] for subsequent processing.
+As its name implies, it uses xref:pjdo:ROOT:about.adoc[JDO/DataNucleus] to do this.
++
+WARNING: TODO: v2 - need to migrate this across.
+Also, check the name is correct.
 
 
 
@@ -88,22 +102,11 @@ To indicate that:
 * an property edit should be published, annotate it with the xref:refguide:applib-ant:Property.adoc#publishing[`@Property#publishing()`] annotation.
 * a changed object should be published is to annotate it with the xref:refguide:applib-ant:DomainObject.adoc#publishing[`@DomainObject#publishing()`] annotation.
 
+The module also provide services that contribute to the UI.
+If contributions are not required in the UI, these can be suppressed either using security or by implementing a xref:userguide:btb:about.adoc#vetoing-visibility[vetoing subscriber].
 
 
-== Alternative Implementations
-
-The (non-ASF) link:https://platform.incode.org[Incode Platform^]'s publishmq module also provides an implementation (`o.ia.m.publishmq.dom.servicespi.PublisherServiceUsingActiveMq`).
-This implementation:
-
-* publishes each member execution as an event on an link:http://activemq.apache.org[ActiveMQ] message queue.
-* persists each execution as a `PublishedEvent` entity, allowing the event to be republished if necessary.
-* provides the ability to log additional `StatusMessage` entities, correlated on the transactionId, useful for diagnosing and monitoring the activity of subscribers of said message queues.
-
-
-This service can be activated by updating the `pom.xml` and updating the `AppManifest#getModules()` method.
 
-The module also provide services that contribute to the UI.
-If contributions are not required in the UI, these can be suppressed either using security or by implementing a xref:userguide:btb:about.adoc#vetoing-visibility[vetoing subscriber].
 
 
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/PublisherServiceLogging.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/PublisherServiceLogging.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/PublisherServiceLogging.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCache.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCache.adoc
index d36bd3e..485c1fe 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCache.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCache.adoc
@@ -1,22 +1,20 @@
-[[QueryResultsCache]]
 = `QueryResultsCache`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
 
-The purpose of the `QueryResultsCache` is to improve response times to the user, by providing a request-scoped cache of the value of some (safe or idempotent) method call. This will typically be as the result of running a query, but could be any expensive operation.
-
-Caching such values is useful for code that loops "naively" through a bunch of stuff, performing an expensive operation each time. If the data is such that the same expensive operation is made many times, then the query cache is a perfect fit.
+The purpose of the `QueryResultsCache` is to improve response times to the user, by providing a request-scoped cache of the value of some (safe or idempotent) method call.
+This will typically be as the result of running a query, but could be any expensive operation.
 
+Caching such values is useful for code that loops "naively" through a bunch of stuff, performing an expensive operation each time.
+If the data is such that the same expensive operation is made many times, then the query cache is a perfect fit.
 
 [NOTE]
 ====
 This service was inspired by similar functionality that exists in relational databases, for example Sybase's http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.dc20023_1251/html/optimizer/X43480.htm[subquery results cache] and Oracle's http://www.dba-oracle.com/oracle11g/oracle_11g_result_cache_sql_hint.htm[result_cache] hint.
 ====
 
-
-
 == API & Implementation
 
 The API defined by `QueryResultsCache` is:
@@ -54,15 +52,14 @@ public class QueryResultsCache {
 }
 ----
 
-This class (`o.a.i.applib.services.queryresultscache.QueryResultsCache`) is also the implementation.
-
-To use an alternative implementation, subclass `QueryResultsCache` and use Spring's link:https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/annotation/Order.html[`@Order`] annotation (as explained in the xref:refguide:applib-svc:about.adoc#overriding-the-services.adoc[introduction] to this guide).
-
+== Implementation
 
+TODO: v2 - QueryResultsCacheDefault in core runtime-services
 
 == Usage
 
-Suppose that there's a `TaxService` that calculates tax on `Taxable` items, with respect to some `TaxType`, and for a given `LocalDate`. To calculate tax it must run a database query and then perform some additional calculations.
+Suppose that there's a `TaxService` that calculates tax on `Taxable` items, with respect to some `TaxType`, and for a given `LocalDate`.
+To calculate tax it must run a database query and then perform some additional calculations.
 
 Our original implementation is:
 
@@ -78,7 +75,8 @@ public class TaxService {
 }
 ----
 
-Suppose now that this service is called in a loop, for example iterating over a bunch of orders, where several of those orders are for the same taxable products, say. In this case the result of the calculation would always be the same for any given product.
+Suppose now that this service is called in a loop, for example iterating over a bunch of orders, where several of those orders are for the same taxable products, say.
+In this case the result of the calculation would always be the same for any given product.
 
 We can therefore refactor the method to use the query cache as follows:
 
@@ -103,12 +101,10 @@ public class TaxService {
 <1> the `Callable` is the original code
 <2> the remaining parameters in essence uniquely identify the method call.
 
-This refactoring will be worthwhile provided that enough of the orders being processed reference the same taxable products. If however every order is for a different product, then no benefit will be gained from the refactoring.
-
-
-
-
+This refactoring will be worthwhile provided that enough of the orders being processed reference the same taxable products.
+If however every order is for a different product, then no benefit will be gained from the refactoring.
 
 == Related Services
 
-The xref:refguide:applib-svc:Scratchpad.adoc[`Scratchpad`] service is also intended for actions that are called many times, allowing arbitrary information to be shared between them. Those methods could be called from some outer loop in domain code, or by the framework itself if the action invoked has the xref:refguide:applib-ant:Action.adoc#invokeOn[`@Action#invokeOn()`] annotation attribute set to `OBJECT_AND_COLLECTION` or `COLLECTION_ONLY`.
+The xref:refguide:applib-svc:Scratchpad.adoc[`Scratchpad`] service is also intended for actions that are called many times, allowing arbitrary information to be shared between them.
+Those methods could be called from some outer loop in domain code, or by the framework itself if the action invoked has the xref:refguide:applib-ant:Action.adoc#invokeOn[`@Action#invokeOn()`] annotation attribute set to `OBJECT_AND_COLLECTION` or `COLLECTION_ONLY`.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCacheControl.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCacheControl.adoc
index 8b13789..26cb6b5 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCacheControl.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCacheControl.adoc
@@ -1 +1,6 @@
+= `QueryResultsCacheControl`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+WARNING: TODO - v2 : to document.
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCacheDefault.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCacheDefault.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/QueryResultsCacheDefault.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/RepositoryService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/RepositoryService.adoc
index bcff419..1c5d84d 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/RepositoryService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/RepositoryService.adoc
@@ -1,4 +1,3 @@
-[[RepositoryService]]
 = `RepositoryService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
@@ -242,6 +241,7 @@ For more details, see xref:pjdo:ROOT:services/IsisJdoSupport.adoc[`IsisJdoSuppor
 
 The default implementation of this domain service is `o.a.i.core.metamodel.services.repository.RepositoryServiceDefault`.
 
+WARNING: TODO: v2 - discuss `EntityState`.
 
 === Configuration Properties
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/Transaction.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/Transaction.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/Transaction.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionId.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionId.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionId.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionService.adoc
index 0b6a854..b4a236c 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionService.adoc
@@ -1,10 +1,11 @@
-[[TransactionService]]
-= `TransactionService3`
+= `TransactionService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
-The `TransactionService3` (and its various supertypes) allows domain objects to influence user transactions.
+WARNING: TODO: v2 - document `Transaction` and `TransactionId` and `TransactionState`.
+
+The `TransactionService` (and its various supertypes) allows domain objects to influence user transactions.
 
 
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionState.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionState.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/TransactionState.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/TranslatableString.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/TranslatableString.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/TranslatableString.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/TranslationService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/TranslationService.adoc
index 293481e..7b0e1f8 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/TranslationService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/TranslationService.adoc
@@ -1,9 +1,9 @@
-[[TranslationService]]
 = `TranslationService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
+WARNING: TODO: v2 - document `TranslatableString`.
 
 The `TranslationService` is the cornerstone of Apache Isis' i18n support.
 Its role is to be able to provide translated versions of the various elements within the Apache Isis metamodel (service and object classes, properties, collections, actions, action parameters) and also to translate business rule (disable/valid) messages, and exceptions.
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/UrlEncodingService.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/UrlEncodingService.adoc
index ac3215a..74aa643 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/UrlEncodingService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/UrlEncodingService.adoc
@@ -1,4 +1,3 @@
-[[UrlEncodingService]]
 = `UrlEncodingService`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/UrlEncodingServiceWithCompression.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/UrlEncodingServiceWithCompression.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/UrlEncodingServiceWithCompression.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/WrapperFactory.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/WrapperFactory.adoc
index 46f0578..b8fee9e 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/WrapperFactory.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/WrapperFactory.adoc
@@ -1,9 +1,9 @@
-[[WrapperFactory]]
 = `WrapperFactory`
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
+WARNING: TODO: v2 - document `WrappingObject`.
 
 
 The `WrapperFactory` provides the ability to enforce business rules for programmatic interactions between domain objects.
@@ -146,7 +146,7 @@ public class CustomerAgent {
 
 [NOTE]
 ====
-It ought to be possible to implement an xref:refguide:applib-svc:ExceptionRecognizer.adoc[`ExceptionRecognizer`]s that would allow the above boilerplate to be removed.
+It ought to be possible to implement an xref:refguide:applib-svc:ExceptionRecognizerService.adoc[`ExceptionRecognizer`]s that would allow the above boilerplate to be removed.
 This recognizer service would recognize the `InteractionException` and convert to a suitable message.
 
 At the time of writing Apache Isis does not provide an out-of-the-box implementation of such an `ExceptionRecognizer`; but it should be simple enough to write one…
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/WrappingObject.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/WrappingObject.adoc
deleted file mode 100644
index 8b13789..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/WrappingObject.adoc
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/about.adoc b/api/applib/src/main/adoc/modules/applib-svc/pages/about.adoc
index 8adc05b..9a40a01 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/about.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/pages/about.adoc
@@ -15,26 +15,39 @@ The diagram below shows these categories:
 image::reference-services/categories.png[width="600px",link="{imagesdir}/reference-services/categories.png"]
 
 
+What distinguishes API from SPI is primarily whether it is called by the domain application itself, or is called by the framework.
+
+* All of the "API" domain services provide a default implementation, and so can always be called by domain objects.
+* Most of the "SPI" domain services also have a default implementation, although in many cases this is a fallback implementation (such as `AuditerServiceLogging` for the xref:refguide:applib-svc:AuditerService.adoc[`AuditerService`]).
+
+In one sense all "API" domain services are also "SPI", in that they can be overridden by the domain programmer providing another domain service implementing the same type.
+For example, the framework-provided implementation of xref:refguide:applib-svc:RepositoryService.adoc[`RepositoryService`] could be overridden this way, perhaps for more monitoring or caching purposes.
+This is most easily done using the Spring link:https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/annotation/Order.html[`@Order`] annotation.
+Generally speaking in such cases higher precedence implementation will be used instead of the framework-provided implementation.
+For a small number of services, though, _all_ available implementations are delegated to.
+One example is the (aforementioned) xref:refguide:applib-svc:AuditerService.adoc[`AuditerService`] - all configured implementations will be delegated to.
+
 A small number of domain services can be considered both API and SPI; a good example is the xref:refguide:applib-svc:EmailService.adoc[`EmailService`] that is of direct use for domain objects wishing to send out emails, but is also used by the framework to support the xref:vw:ROOT:features.adoc#user-registration[user registration] functionality supported by the xref:vw:ROOT:about.adoc[Wicket viewer].
 The same is true of the xref:refguide:applib-svc:EventBusService.adoc[`EventBusService`]; this can be used by domain objects to broadcast arbitrary events, but is also used by the framework to automatically emit events for
 xref:refguide:applib-ant:Action.adoc#domainEvent[`@Action#domainEvent()`] etc.
-
 For these hybrid services we have categorized the service as an "API" service.
-This chapter therefore contains only the strictly SPI services.
 
-This rest of this guide is broken out into several chapters, one for each of the various types/categories of domain service.
+This body of this guide has one page per domain service, alphabetically.
+To help you navigate them, the tables also group the services by category.
 
 
-
-include::refguide:applib-svc:partial$presentation-layer-api.adoc[leveloffset=+2]
-include::refguide:applib-svc:partial$presentation-layer-spi.adoc[leveloffset=+2]
-include::refguide:applib-svc:partial$application-layer-api.adoc[leveloffset=+2]
-include::refguide:applib-svc:partial$application-layer-spi.adoc[leveloffset=+2]
-include::refguide:applib-svc:partial$core-domain-api.adoc[leveloffset=+2]
-include::refguide:applib-svc:partial$integration-api.adoc[leveloffset=+2]
-include::refguide:applib-svc:partial$metadata-api.adoc[leveloffset=+2]
-include::refguide:applib-svc:partial$persistence-layer-api.adoc[leveloffset=+2]
-include::refguide:applib-svc:partial$persistence-layer-spi.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_presentation-layer-api.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_presentation-layer-spi.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_application-layer-api.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_application-layer-spi.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_core-domain-api.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_integration-api.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_integration-spi.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_metadata-api.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_metadata-spi.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_persistence-layer-api.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_persistence-layer-spi.adoc[leveloffset=+2]
+include::refguide:applib-svc:partial$_security-spi.adoc[leveloffset=+2]
 
 == Public API vs Internal Services
 
@@ -48,6 +61,9 @@ The internal framework services are documented in the xref:runtime-services:ROOT
 
 == Using the services
 
+WARNING: TODO: v2 - should extend this ... a good point to discuss also the @Import and pom.xml dependency.
+
+
 Apache Isis includes an extensive number of domain services for your domain objects to use; simply define the service as an annotated field and Apache Isis will inject the service into your object.
 
 For example:
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_application-layer-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_application-layer-api.adoc
new file mode 100644
index 0000000..7ff5fd2
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_application-layer-api.adoc
@@ -0,0 +1,86 @@
+= Application Layer API
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+
+Domain service APIs for the application layer allow the domain objects to control aspects of the application layer, such as sending info messages back to the end-user.
+
+
+.Application Layer API
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+//|xref:refguide:applib-svc:BackgroundService.adoc[BackgroundService]
+//|Programmatic persistence of commands to be persisted (so can be executed by a background mechanism, eg scheduler)
+//|
+//* xref:core:runtime-services:about.adoc[Core Runtime Services]
+//
+//NOTE: TODO: v2: this has been replaced by `WrapperFactory#async(...)`
+
+
+|xref:refguide:applib-svc:CommandContext.adoc[CommandContext]
+|Request-scoped access to capture the users's __intention__ to invoke an action or to edit a property.
+|
+* API is also the implementation (concrete class).
+
+
+|xref:refguide:applib-svc:CommandExecutorService.adoc[CommandExecutorService]
+|Executes the specified `Command`.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|xref:refguide:applib-svc:InteractionContext.adoc[InteractionContext]
+|Request-scoped access to the current member execution (action invocation or property edit), represented as the `Interaction` context.
+|
+* API is also the implementation (concrete class).
+
+
+
+|xref:refguide:applib-svc:MessageService.adoc[MessageService]
+|Methods to inform or warn the user, or to raise errors.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+|xref:refguide:applib-svc:SessionManagementService.adoc[SessionManagementService]
+|Methods for batching long-running work (eg data migration) into multiple sessions.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+|xref:refguide:applib-svc:SudoService.adoc[SudoService]
+|Typically for use in testing while running xref:testing:fixtures:services/FixtureScripts.adoc[fixture scripts], allows a block of code to run as a specified user account.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|xref:refguide:applib-svc:TitleService.adoc[TitleService]
+|Methods to programmatically obtain the title or icon of a domain object.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+
+|xref:refguide:applib-svc:TransactionService.adoc[TransactionService]
+|Methods for managing transactions.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|xref:refguide:applib-svc:WrapperFactory.adoc[WrapperFactory]
+|Interact with another domain object "as if" through the UI (enforcing business rules, firing domain events)
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|===
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_application-layer-spi.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_application-layer-spi.adoc
new file mode 100644
index 0000000..69e701b
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_application-layer-spi.adoc
@@ -0,0 +1,49 @@
+= Application Layer SPI
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+Domain service SPIs influence how the framework handles application layer concerns, for example which home page to render to the end-user.
+
+.Application Layer SPI
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+
+//|xref:refguide:applib-svc:BackgroundCommandService.adoc[BackgroundCommandService]
+//|Persisted a memento of an action invocation such that it can be executed asynchronously ("in the background") eg by a scheduler.
+//|
+//TODO: v2: probably in core extensions
+
+
+
+|xref:refguide:applib-svc:CommandService.adoc[CommandService]
+|Service to act as a factory and repository (create and save) of command instances, ie representations of an action invocation.
+Used for command/auditing and background services.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+* xref:extensions:command-log:about.adoc[Command Log +
+(Extension Catalog)]
+
+
+|xref:refguide:applib-svc:HealthCheckService.adoc[HealthCheckService]
+|Performs a health check so that the runtime infrastructure can determine if the application is still healthy (and perform remedial action, such as restarting the app, if not).
+|
+* No default implementation.
+
+
+|xref:refguide:applib-svc:HomePageResolverService.adoc[HomePageResolverService]
+|Returns the home page object, if any is defined.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+
+
+|===
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_core-domain-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_core-domain-api.adoc
new file mode 100644
index 0000000..760c1c4
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_core-domain-api.adoc
@@ -0,0 +1,65 @@
+= Core/Domain API
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+The core/domain APIs provide general-purpose services to the domain objects, for example obtaining the current time or user, or instantiating domain objects.
+
+.Core/Domain Layer API
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+
+|xref:refguide:applib-svc:ClockService.adoc[ClockService]
+|Access the current time (and for testing, allow the time to be changed)
+|
+* API is also implementation (concrete class).
+
+
+|xref:refguide:applib-svc:ConfigurationViewService.adoc[ConfigurationViewService] & xref:refguide:applib-svc:ConfigurationMenu.adoc[ConfigurationMenu]
+|Backing service which creates the list of configuration properties for xref:refguide:applib-svc:ConfigurationMenu.adoc[ConfigurationMenu].
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Service]
+
+
+|xref:refguide:applib-svc:EventBusService.adoc[EventBusService]
+|Programmatically post events to the internal event bus.  Also used by Apache Isis itself to broadcast domain, UI and lifecycle events.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+|xref:refguide:applib-svc:FactoryService.adoc[FactoryService]
+|Methods to instantiate and initialize domain objects
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+|xref:refguide:applib-svc:Scratchpad.adoc[Scratchpad]
+|Request-scoped service for interchanging information between and aggregating over multiple method calls.
+|
+* API is also implementation (concrete class).
+
+
+|xref:refguide:applib-svc:ServiceInjector.adoc[ServiceInjector]
+|Programmatically inject services into arbitrary objects.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+|xref:refguide:applib-svc:ServiceRegistry.adoc[ServiceRegistry]
+|Registry of all domain services, for service locator pattern.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+|xref:refguide:applib-svc:UserService.adoc[UserService]
+|Methods to access the currently-logged on user.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+
+|===
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_integration-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_integration-api.adoc
new file mode 100644
index 0000000..e1a4193
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_integration-api.adoc
@@ -0,0 +1,50 @@
+= Integration API
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+The integration APIs provide functionality to the domain objects to integrate with other bounded contexts, for example sending an email or serializing an object out to XML.
+
+TIP: see also the xref:mappings:ROOT:about.adoc[Bounded Context Mappings] catalogue.
+
+.Integration API
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+
+|xref:refguide:applib-svc:BookmarkService.adoc[BookmarkService]
+|Convert object reference to a serializable "bookmark", and vice versa.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|xref:refguide:applib-svc:EmailService.adoc[EmailService]
+|Send a HTML email, optionally with attachments.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|xref:refguide:applib-svc:JaxbService.adoc[JaxbService]
+|Marshal and unmarshal JAXB-annotated view models to/from XML.
+|
+* Default +
+in Applib.
+
+
+
+
+|xref:refguide:applib-svc:XmlSnapshotService.adoc[XmlSnapshotService]
+|Generate an XML representation of an object and optionally a graph of related objects.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|===
+
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_integration-spi.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_integration-spi.adoc
new file mode 100644
index 0000000..71bfd69
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_integration-spi.adoc
@@ -0,0 +1,44 @@
+= Integration SPI
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+The integration SPIs allow the framework to automate the exchange of data between bounded contexts automatically.
+
+TIP: see also the xref:mappings:ROOT:about.adoc[Bounded Context Mappings] catalogue.
+
+.Integration SPI
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+
+
+|xref:refguide:applib-svc:CommandDtoProcessorService.adoc.adoc[CommandDtoProcessorService]
+|SPI to support representation of commands as XML over REST, in particular to support master/slave replay of commands.
+|
+* xref:extensions:command-log:about.adoc[Command Log +
+(in Extensions catalog)]
+
+
+|xref:refguide:applib-svc:CommandExecutorService.adoc.adoc[CommandExecutorService]
+|Internal service used to execute commands.
+One use case is to replay commands on master/slave; another is in support of background commands.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+|xref:refguide:applib-svc:PublisherService.adoc[PublisherService]
+|Publish any action invocations/property edits and changed objects, typically for interchange with an external system in a different bounded context.
+|
+* `PublisherServiceLogging` (in applib)
+* xref:mappings:publisher:about.adoc[Publish Outbox +
+(in Mappings catalogue)]
+
+
+
+|===
+
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_metadata-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_metadata-api.adoc
new file mode 100644
index 0000000..d47b9ac
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_metadata-api.adoc
@@ -0,0 +1,61 @@
+= Metadata API
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+The metadata APIs provide access to the framework's internal metamodel.
+These are generally of use to support development-time activities, for example creating custom UIs through Swagger.
+
+
+.Metadata API
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+
+|xref:refguide:applib-svc:ApplicationFeatureRepository.adoc[ApplicationFeatureRepository]
+|Provides access to string representations of the features (package, class, class members) of the domain classes
+within the metamodel.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+
+|xref:refguide:applib-svc:LayoutService.adoc[LayoutService] &
+xref:refguide:applib-svc:LayoutServiceMenu.adoc[LayoutServiceMenu]
+|Use to obtain the resolved `Xxx.layout.xml` for a class, and the top-level `menubars.layout.xml` files.
+
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
++
+Calls xref:refguide:applib-svc:MenuBarsService.adoc[MenuBarsService] and xref:refguide:applib-svc:GridService.adoc[GridService].
+
+
+
+
+
+|xref:refguide:applib-svc:MetamodelService.adoc[MetaModelService] & xref:refguide:applib-svc:MetaModelServiceMenu.adoc[MetaModelServiceMenu]
+|Access to certain information from the Apache Isis metamodel.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+|xref:refguide:applib-svc:ServiceRegistry.adoc[ServiceRegistry]
+|Methods to access and use other domain services.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+
+|xref:refguide:applib-svc:SwaggerService.adoc[SwaggerService]
+|Exports link:http://swagger.io/[Swagger] spec files, eg to generate link:http://swagger.io/swagger-codegen/[client-side stubs] for use in a custom REST client.
+|
+* xref:vro:ROOT:about.adoc[Restful Objects viewer]
+
+
+
+|===
+
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_metadata-spi.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_metadata-spi.adoc
new file mode 100644
index 0000000..4d9c06f
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_metadata-spi.adoc
@@ -0,0 +1,68 @@
+= Metadata SPI
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+
+The metadata SPIs allow the framework to obtain metadata from alternative locations.
+
+
+.Metadata SPIs
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+
+
+
+|xref:refguide:applib-svc:GridLoaderService.adoc[GridLoaderService]
+|Responsible for loading a grid layout for a domain class, eg from a `layout.xml` file.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+|xref:refguide:applib-svc:GridService.adoc[GridService]
+|A facade on top of both xref:refguide:applib-svc:GridLoaderService.adoc[`GridLoaderService`] and
+xref:refguide:applib-svc:GridSystemService.adoc[`GridSystemService`], thus being able to return normalized grids for any domain class.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+
+|xref:refguide:applib-svc:GridSystemService.adoc[GridSystemService]
+|Validates and normalizes the grid layout for a domain class (with respect to a particular grid system such as Bootstrap3), also providing a default grid (for those domain classes where there is no grid layout).
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+
+|xref:refguide:applib-svc:MenuBarsLoaderService.adoc[MenuBarsLoaderService]
+|Low-level SPI to load the serialized form of the menubars (normally: the `menubars.layout.xml`) into memory.
+Used by
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+|xref:refguide:applib-svc:MenuBarsService.adoc[MenuBarsService]
+|Constructs and normalizes the in-memory representation of the menubars.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
++
+Calls xref:refguide:applib-svc:MenuBarsLoaderService.adoc[MenuBarsLoaderService]
+
+
+|xref:refguide:applib-svc:TranslationsResolver.adoc[TranslationsResolver]
+|Obtain translations for a particuar phrase and locale, in support of i18n (ie so that the app's UI, messages and exceptions can be translated to the required locale by the xref:refguide:applib-svc:TranslationService.adoc[`TranslationService`]
+|
+* xref:vw:ROOT:about.adoc[Wicket viewer]
+
+
+
+
+
+|===
+
+
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/persistence-layer-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_persistence-layer-api.adoc
similarity index 54%
rename from api/applib/src/main/adoc/modules/applib-svc/partials/persistence-layer-api.adoc
rename to api/applib/src/main/adoc/modules/applib-svc/partials/_persistence-layer-api.adoc
index 1539289..b70518f 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/persistence-layer-api.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_persistence-layer-api.adoc
@@ -6,55 +6,32 @@
 The persistence layer APIs provide domain objects with tools to manage the interactions with the persistence layer, for example adding on-the-fly caching to queries that are called many times within a loop.
 
 
-The table below summarizes the persistence layer APIs defined by Apache Isis.
-It also lists their corresponding implementation, either a default implementation provided by Apache Isis itself, or provided by one of the (non-ASF) link:https://platform.incode.org[Incode Platform^] modules.
-
-
 .Persistence Layer API
-[cols="2,4a,1,1", options="header"]
+[cols="2m,4a,2a",options="header"]
 |===
 
 |API
 |Description
 |Implementation
-|Notes
 
 
-|xref:refguide:applib-svc:MetricsService.adoc[`o.a.i.applib.` +
-`services.metrics` +
-`MetricsService`]
+|xref:refguide:applib-svc:MetricsService.adoc[MetricsService]
 |Gathers and provides metrics on the numbers of objects used within a transaction.
-|`MetricsServiceDefault` +
-``o.a.i.core`` +
-``isis-core-runtime``
 |
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
 
 
-|xref:refguide:applib-svc:QueryResultsCache.adoc[`o.a.i.applib.` +
-`services.` +
-`queryresultscache` +
-`QueryResultsCache`]
+|xref:refguide:applib-svc:QueryResultsCache.adoc[QueryResultsCache]
 |Request-scoped caching of the results of queries (or any data set generated by a given set of input arguments).
-|`QueryResultsCache` +
-``o.a.i.core`` +
-``isis-applib``
-|API is also a concrete class
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
 
 
 
-|xref:refguide:applib-svc:RepositoryService.adoc[`o.a.i.applib.` +
-`services.repository` +
-`RepositoryService`]
+|xref:refguide:applib-svc:RepositoryService.adoc[RepositoryService]
 |Methods to help implement repositories: query for existing objects, persist new or delete existing objects
-|`RepositoryService-` +
-``Default`` +
-``o.a.i.core`` +
-``isis-core-metamodel``
 |
-
-
-
-
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
 
 
 
@@ -62,13 +39,3 @@ It also lists their corresponding implementation, either a default implementatio
 
 
 
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_persistence-layer-spi.adoc
similarity index 62%
copy from api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
copy to api/applib/src/main/adoc/modules/applib-svc/partials/_persistence-layer-spi.adoc
index 49d55d7..6961811 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_persistence-layer-spi.adoc
@@ -1,8 +1,28 @@
-[[ConfigurationViewService]]
-= `ConfigurationViewService`
+= Persistence Layer SPI
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-partial:
 
 
-// TODO: v2: to document.
+The persistence layer SPIs are to control persistence and caching of domain objects.
+
+
+.Persistence Layer SPI
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+
+|xref:refguide:applib-svc:QueryResultsCacheControl.adoc[QueryResultsCacheControl]
+|Controls whether the xref:refguide:applib-svc:QueryResultsCache.adoc[QueryResultsCache] is enabled.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|===
+
+
 
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_presentation-layer-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_presentation-layer-api.adoc
new file mode 100644
index 0000000..0f26c9c
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_presentation-layer-api.adoc
@@ -0,0 +1,39 @@
+= Presentation Layer API
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+
+Domain service APIs for the presentation layer allow the domain objects to control aspects of the user interface.
+
+CAUTION: The implementations are specific to the particular viewer (xref:vw:ROOT:about.adoc[Wicket viewer] or xref:vro:ROOT:about.adoc[Restful Objects viewer]) so domain code must guard against them being unavailable in some cases.
+
+
+.Presentation Layer API
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+|xref:refguide:applib-svc:AcceptHeaderService.adoc[AcceptHeaderService]
+|Request-scoped access to HTTP Accept headers.
+|
+* xref:vro:ROOT:about.adoc[Restful Objects viewer]
+
+|xref:refguide:applib-svc:BookmarkUiService.adoc[BookmarkUiService]
+|Manage bookmarks and breadcrumbs.
+|
+* xref:vw:ROOT:about.adoc[Wicket viewer]
+
+
+|xref:refguide:applib-svc:DeepLinkService.adoc[DeepLinkService]
+|Obtain a URL to a domain object (eg for use within an email or report)
+|* xref:vw:ROOT:about.adoc[Wicket viewer]
+
+
+
+|===
+
+
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_presentation-layer-spi.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_presentation-layer-spi.adoc
new file mode 100644
index 0000000..5748e12
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_presentation-layer-spi.adoc
@@ -0,0 +1,115 @@
+= Presentation Layer SPI
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+
+The persistence layer SPIs influence how the framework persists domain objects, for example controlling how to create an audit log of changes to domain objects.
+
+
+.Presentation Layer SPI
+[cols="2m,4a,2a",options="header"]
+|===
+
+|SPI
+|Description
+|Implementation
+
+
+|xref:refguide:applib-svc:ContentMappingService.adoc[ContentMappingService]
+|(Attempt to) map the returned data into the representation required by the client's HTTP `Accept` header.
+
+The framework will call all available implementations until a mapping is made (chain of responsibility pattern).
+|
+* `ContentMappingServiceForCommandDto` and `ContentMappingServiceForCommandsDto` (in applib) provide support for commands.
+
+
+
+|xref:refguide:applib-svc:EmailNotificationService.adoc[EmailNotificationService]
+|Notify a user during xref:refguide:applib-svc:UserRegistrationService.adoc[self-registration] of users.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+|xref:refguide:applib-svc:ErrorReportingService.adoc[ErrorReportingService]
+|Record details of an error occurring in the system (eg in an external incident recording system such as JIRA), and return a more friendly (jargon-free) message to display to the end user, with optional reference (eg `XXX-1234`).
+|
+* No default implementation
+
+
+|xref:refguide:applib-svc:ExceptionRecognizer.adoc[ExceptionRecognizerService]
+|Convert certain exceptions (eg foreign or unique key violation in the database) into a format that can be rendered to the end-user.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+* xref:pjdo:ROOT:about.adoc[JDO/DataNucleus Persistence]
+
++
+defines an SPI so that exceptions recognized is pluggable.
+
+
+|xref:refguide:applib-svc:ExceptionRecognizerService.adoc[ExceptionRecognizerService]
+|Convert certain exceptions (eg foreign or unique key violation in the database) into a format that can be rendered to the end-user.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
++
+defines an SPI so that exceptions recognized is pluggable.
+
+
+
+|xref:refguide:applib-svc:HintStore.adoc[HintStore]
+|Stores UI hints on a per-object basis.
+For example, the viewer remembers which tabs are selected, and for collections which view is selected (eg table or hidden), which page of a table to render, or whether "show all" (rows) is toggled.
+|
+* xref:vw:ROOT:about.adoc[Wicket viewer]
+
+
+|xref:refguide:applib-svc:LocaleProvider.adoc[LocaleProvider]
+|Request-scoped service to return the locale of the current user, in support of i18n (ie so that the app's UI, messages and exceptions can be translated to the required locale by the xref:refguide:applib-svc:TranslationService.adoc[`TranslationService`].
+|
+* xref:vw:ROOT:about.adoc[Wicket viewer]
+
+
+|xref:refguide:applib-svc:RoutingService.adoc[RoutingService]
+|Return an alternative object than that returned by an action.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
++
+will return the home page (per xref:refguide:applib-svc:HomePageResolverService.adoc[`HomePageResolverService`]) if a void or null is returned.
++
+Used by the xref:vw:ROOT:about.adoc[Wicket viewer] only.
+
+
+
+|xref:refguide:applib-svc:TableColumnOrderService.adoc[TableColumnOrderService]
+|Allows the columns of a parented or standalone table to be reordered, based upon the parent object, collection id and type of object in the collection.
+|
+* xref:core:metamodel:about.adoc[Core MetaModel]
+
+
+|xref:refguide:applib-svc:TranslationService.adoc[TranslationService]
+|Translate an app's UI, messages and exceptions for the current user (as per the locale provided by xref:refguide:applib-svc:LocaleProvider.adoc[`LocalProvider`].
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
++
+using gnu `.po` localization.
+
+
+
+|xref:refguide:applib-svc:UrlEncodingService.adoc[UrlEncodingService]
+|Converts strings into a form safe for use within a URL.
+Used to convert view models mementos into usable URL form.
+
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+
+|xref:refguide:applib-svc:UserProfileService.adoc[UserProfileService]
+|Obtain an alternative (usually enriched/customized) name for the current user, to render in the UI.
+|
+* xref:core:runtime-services:about.adoc[Core Runtime Services]
+
+
+|===
+
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/_security-spi.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/_security-spi.adoc
new file mode 100644
index 0000000..aad56e6
--- /dev/null
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/_security-spi.adoc
@@ -0,0 +1,48 @@
+= Security SPI
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
+:page-partial:
+
+
+The security SPIs influence how the framework handles various security concerns.
+
+TIP: see also the xref:security:ROOT:about.adoc[Security Guide].
+
+
+.Security SPI
+[cols="2m,4a,2a",options="header"]
+|===
+
+|API
+|Description
+|Implementation
+
+
+
+|xref:refguide:applib-svc:AuditerService.adoc[AuditerService]
+|Create an audit record for every changed property of every changed object within a transaction.
+|
+* `AuditerServiceLogging` (in applib)
+
+* xref:security:audit-trail:about.adoc[Audit Trail +
+(Security Guide)]
+
+
+
+|xref:refguide:applib-svc:SessionLoggingService.adoc[SessionLoggingService]
+|Records each login and logout by end-users.
+|
+* xref:security:session-log:about.adoc[Session Log +
+(Security Guide)]
+
+|xref:refguide:applib-svc:UserRegistrationService.adoc[UserRegistrationService]
+|Create a new user account with the configured security mechanism.
+|
+* xref:security:secman:about.adoc[SecMan +
+(Security Guide)]
++
+This is a partial implementation.
+
+
+|===
+
+
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/application-layer-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/application-layer-api.adoc
deleted file mode 100644
index 3ce1898..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/application-layer-api.adoc
+++ /dev/null
@@ -1,150 +0,0 @@
-= Application Layer API
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-
-Domain service APIs for the application layer allow the domain objects to control aspects of the application layer, such as sending info messages back to the end-user.
-
-
-The table below summarizes the application layer APIs defined by Apache Isis.
-It also lists their corresponding implementation, either a default implementation provided by Apache Isis itself, or provided by one of the (non-ASF) link:https://platform.incode.org[Incode Platform^] modules.
-
-.Application Layer API
-[cols="2,4a,1,1", options="header"]
-|===
-
-|API
-|Description
-|Implementation
-|Notes
-
-//|xref:refguide:applib-svc:BackgroundService.adoc[`o.a.i.applib.` +
-//`services.background` +
-//`BackgroundService`]
-//|Programmatic persistence of commands to be persisted (so can be executed by a background mechanism, eg scheduler)
-//|`BackgroundService-`
-//`Default` +
-//``o.a.i.core`` +
-//``isis-core-runtime``
-//|depends on: +
-//xref:refguide:applib-svc:_BackgroundCommandService.adoc[`BackgroundCommand-Service`]
-//
-//NOTE: TODO: v2: this has been replaced by `WrapperFactory#async(...)`
-
-
-|xref:refguide:applib-svc:CommandContext.adoc[`o.a.i.applib.` +
-`services.command` +
-`CommandContext`]
-|Request-scoped access to capture the users's __intention__ to invoke an action or to edit a property.
-|`CommandContext` +
-``o.a.i.core`` +
-``isis-applib``
-|API is also a concrete class. +
-depends on: +
-xref:refguide:applib-svc:CommandService.adoc[`CommandService`] for persistent `Command`, else in-memory impl. used.
-
-The xref:refguide:applib-svc:InteractionContext.adoc[`InteractionContext`] manages the actual execution of the command.
-
-
-|xref:refguide:applib-svc:CommandExecutorService.adoc[`o.a.i.applib.` +
-`services.command` +
-`CommandExecutorService`]
-|Executes the specified `Command`.
-|`CommandExecutorService-`
-`Default` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|
-
-
-
-|xref:refguide:applib-svc:InteractionContext.adoc[`o.a.i.applib.` +
-`services.iactn` +
-`InteractionContext`]
-|Request-scoped access to the current member execution (action invocation or property edit),
-represented as the `Interaction` context.
-|`InteractionContext` +
-``o.a.i.core`` +
-``isis-applib``
-|API is also a concrete class.
-
-
-
-|xref:refguide:applib-svc:MessageService.adoc[`o.a.i.applib.` +
-`services.message` +
-`MessageService`]
-|Methods to inform or warn the user, or to raise errors.
-|`FactoryService-` +
-``Default`` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-|xref:refguide:applib-svc:SessionManagementService.adoc[`o.a.i.applib.` +
-`services.sessmgmt` +
-`SessionManagementService`]
-|Methods for batching long-running work (eg data migration) into multiple sessions.
-|`SessionManagementService-` +
-``Default`` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|
-
-|xref:refguide:applib-svc:SudoService.adoc[`o.a.i.applib.` +
-`services.sudo` +
-`SudoService`]
-|Typically for use in testing while running xref:testing:fixtures:services/FixtureScripts.adoc[fixture scripts], allows a block of code to run as a specified user account.
-|`SudoServiceDefault` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|API is also a concrete class
-
-
-
-|xref:refguide:applib-svc:TitleService.adoc[`o.a.i.applib.` +
-`services.title` +
-`TitleService`]
-|Methods to programmatically obtain the title or icon of a domain object.
-|`TitleService-` +
-``Default`` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-
-|xref:refguide:applib-svc:TransactionService.adoc[`o.a.i.applib.` +
-`services.xactn` +
-`TransactionService`]
-|Methods for managing transactions.
-|`TransactionService-` +
-``Default`` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-
-|xref:refguide:applib-svc:WrapperFactory.adoc[`o.a.i.applib.` +
-`services.wrapper` +
-`WrapperFactory`]
-|Interact with another domain object "as if" through the UI (enforcing business rules, firing domain events)
-|`WrapperFactoryDefault` +
-``o.a.i.core`` +
-``isis-core-wrapper``
-|
-
-
-
-|===
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/application-layer-spi.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/application-layer-spi.adoc
deleted file mode 100644
index ae2fda0..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/application-layer-spi.adoc
+++ /dev/null
@@ -1,81 +0,0 @@
-= Application Layer SPI
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-Domain service SPIs influence how the framework handles application layer concerns, for example which home page to render to the end-user.
-
-
-The table below summarizes the application layer SPIs defined by Apache Isis.
-It also lists their corresponding implementation, either a default implementation provided by Apache Isis itself, or provided by one of the (non-ASF) link:https://platform.incode.org[Incode Platform^] modules.
-
-.Application Layer SPI
-[cols="2,4a,1,1", options="header"]
-|===
-
-|API
-|Description
-|Implementation
-|Notes
-
-
-|xref:refguide:applib-svc:BackgroundCommandService.adoc[`o.a.i.applib.` +
-`services.background` +
-`BackgroundCommandService`]
-|Persisted a memento of an action invocation such that it can be executed asynchronously ("in the background") eg by a scheduler.
-|`BackgroundCommandServiceJdo` +
-``o.ia.m.command`` +
-``isis-module-command``
-|related services:
-`BackgroundCommandService-` +
-`JdoContributions`,
-`BackgroundCommandService-` +
-`JdoRepository`
-
-
-
-|xref:refguide:applib-svc:CommandService.adoc[`o.a.i.applib.` +
-`services.command.spi` +
-`CommandService`]
-|Service to act as a factory and repository (create and save) of command instances, ie representations of an action invocation.  Used for command/auditing and background services.
-|`CommandServiceJdo` +
-``o.ia.m.command`` +
-``isis-module-command``
-|related services: +
-`CommandService-` ++
-`JdoContributions`,
-`CommandService-` ++
-`JdoRepository`
-
-|xref:refguide:applib-svc:HealthCheckService.adoc[`o.a.i.applib.` +
-`services.health` +
-`HealthCheckService`]
-|Performs a health check so that the runtime infrastructure can determine if the application is still healthy (and perform remedial action, such as restarting the app, if not).
-|No default implementation.
-|Exposed via REST API, typically on `/restful/health`.
-
-
-|xref:refguide:applib-svc:HomePageResolverService.adoc[`o.a.i.applib.` +
-`services.homepage` +
-`HomePageResolverService`]
-|Returns the home page object, if any is defined.
-|`HomePageResolver` +
-`ServiceDefault` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|Used by the default implementation of xref:refguide:applib-svc:RoutingService.adoc[`RoutingService`].
-
-
-
-
-
-|===
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/core-domain-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/core-domain-api.adoc
deleted file mode 100644
index 4682ef2..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/core-domain-api.adoc
+++ /dev/null
@@ -1,99 +0,0 @@
-= Core/Domain API
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-The core/domain APIs provide general-purpose services to the domain objects, for example obtaining the current time or user, or instantiating domain objects.
-
-
-The table below summarizes the core/domain APIs defined by Apache Isis.
-It also lists their corresponding implementation, either a default implementation provided by Apache Isis itself, or provided by one of the (non-ASF) link:https://platform.incode.org[Incode Platform^] modules.
-
-
-.Core/Domain Layer API
-[cols="2,4a,1,1", options="header"]
-|===
-
-|API
-|Description
-|Implementation
-|Notes
-
-
-
-|xref:refguide:applib-svc:ClockService.adoc[`o.a.i.applib.` +
-`services.clock` +
-`ClockService`]
-|Access the current time (and for testing, allow the time to be changed)
-|`ClockService` +
-``o.a.i.core`` +
-``isis-applib``
-|API is also a concrete class.
-
-
-
-|xref:refguide:applib-svc:EventBusService.adoc[`o.a.i.applib.` +
-`services.eventbus` +
-`EventBusService`]
-|Programmatically post events to the internal event bus.  Also used by Apache Isis itself to broadcast domain events:
-
-* xref:refguide:applib-ant:Action.adoc#domainEvent[`Action#domainEvent()`]
-* xref:refguide:applib-ant:Property.adoc#domainEvent[`Property#domainEvent()`]
-* xref:refguide:applib-ant:Collection.adoc#domainEvent[`Collection#domainEvent()`]
-|`EventBusServiceJdo` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|
-
-|xref:refguide:applib-svc:FactoryService.adoc[`o.a.i.applib.` +
-`services.factory` +
-`FactoryService`]
-|Methods to instantiate and initialize domain objects
-|`FactoryService-` +
-``Default`` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-
-
-
-
-
-|xref:refguide:applib-svc:Scratchpad.adoc[`o.a.i.applib.` +
-`services.scratchpad` +
-`Scratchpad`]
-|Request-scoped service for interchanging information between and aggregating over multiple method calls; in particular for use by "bulk" actions (invoking of an action for all elements of a collection)
-|`Scratchpad` +
-``o.a.i.core`` +
-``isis-applib``
-|API is also a concrete class
-
-
-
-
-|xref:refguide:applib-svc:UserService.adoc[`o.a.i.applib.` +
-`services.xactn` +
-`UserService`]
-|Methods to access the currently-logged on user.
-|`UserService-` +
-``Default`` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-
-|===
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
-
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/integration-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/integration-api.adoc
deleted file mode 100644
index 4d60776..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/integration-api.adoc
+++ /dev/null
@@ -1,84 +0,0 @@
-= Integration API
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-The integration APIs provide functionality to the domain objects to integrate with other bounded contexts, for example sending an email or serializing an object out to XML.
-
-
-The table below summarizes the integration APIs defined by Apache Isis.
-It also lists their corresponding implementation, either a default implementation provided by Apache Isis itself, or provided by one of the (non-ASF) link:https://platform.incode.org[Incode Platform^] modules.
-
-
-.Integration API
-[cols="2,4a,1,1", options="header"]
-|===
-
-|API
-|Description
-|Implementation
-|Notes
-
-
-
-|xref:refguide:applib-svc:BookmarkService.adoc[`o.a.i.applib.` +
-`services.bookmark` +
-`BookmarkService`]
-|Convert object reference to a serializable "bookmark", and vice versa.
-|`BookmarkServiceDefault` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|related services:
-`BookmarkHolder-` +
-`ActionContributions`,
-`BookmarkHolder-` +
-`Association-` +
-`Contributions`
-
-
-|xref:refguide:applib-svc:EmailService.adoc[`o.a.i.applib.` +
-`services.email` +
-`EmailService`]
-|Send a HTML email, optionally with attachments.
-|`EmailServiceDefault` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|
-
-
-
-|xref:refguide:applib-svc:JaxbService.adoc[`o.a.i.applib.` +
-`services.jaxb` +
-`JaxbService`]
-|Marshal and unmarshal JAXB-annotated view models to/from XML.
-|`JaxbServiceDefault` +
-``o.a.i.core`` +
-``isis-core-schema``
-|
-
-
-
-
-|xref:refguide:applib-svc:XmlSnapshotService.adoc[`o.a.i.applib.` +
-`services.xmlsnapshot` +
-`XmlSnapshotService`]
-|Generate an XML representation of an object and optionally a graph of related objects.
-|`XmlSnapshotServiceDefault` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|
-
-
-
-|===
-
-
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/metadata-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/metadata-api.adoc
deleted file mode 100644
index c9b5225..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/metadata-api.adoc
+++ /dev/null
@@ -1,93 +0,0 @@
-= Metadata API
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-The metadata APIs provide access to the framework's internal metamodel.  These are generally of use to support development-time activities, for example creating custom UIs through Swagger.
-
-The table below summarizes the metadata APIs defined by Apache Isis.
-It also lists their corresponding implementation, either a default implementation provided by Apache Isis itself, or provided by one of the (non-ASF) link:https://platform.incode.org[Incode Platform^] modules.
-
-
-.Metadata API
-[cols="2,4a,1,1", options="header"]
-|===
-
-|API
-|Description
-|Implementation
-|Notes
-
-
-|xref:refguide:applib-svc:ApplicationFeatureRepository.adoc[`o.a.i.applib.` +
-`services.appfeat` +
-`ApplicationFeatureRepository`]
-|Provides access to string representations of the features (package, class, class members) of the domain classes
-within the metamodel.
-|`ApplicationFeatureDefault` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|(not visible in UI)
-
-
-
-|xref:refguide:applib-svc:LayoutService.adoc[`o.a.i.applib.` +
-`services.layout` +
-`LayoutService`]
-|Provides the ability to download `Xxx.layout.xml` files, in various styles.
-|`LayoutServiceDefault` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|Functionality surfaced in the UI through related mixin and menu.
-
-
-
-
-|xref:refguide:applib-svc:MetamodelService.adoc[`o.a.i.applib.` +
-`services.metamodel` +
-`MetaModelService`]
-|Access to certain information from the Apache Isis metamodel.
-|`MetaModelServiceDefault` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|Functionality surfaced in the UI through related menu.
-
-
-|xref:refguide:applib-svc:ServiceRegistry.adoc[`o.a.i.applib.` +
-`services.registry` +
-`ServiceRegistry`]
-|Methods to access and use other domain services.
-|`ServiceRegistry-` +
-``Default`` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-
-
-|xref:refguide:applib-svc:SwaggerService.adoc[`o.a.i.applib.` +
-`services.swagger` +
-`SwaggerService`]
-|Generates link:http://swagger.io/[Swagger] spec files to describe the public and/or private RESTful APIs exposed by the xref:vro:ROOT:about.adoc[RestfulObjects viewer].  These can then be used with the link:http://swagger.io/swagger-ui/[Swagger UI] page to explore the REST API, or used to generate client-side stubs using the link:http://swagger.io/swagger-codegen/[Swagger codegen] tool, eg for use in a custom REST client app.
-|`SwaggerServiceDefault` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|A `SwaggerServiceMenu` domain service is also provided which enables the swagger spec to be downloaded.
-
-// FIXME: currently removed in v2, may reinstate
-//Apache Isis' xref:refguide:mvn:about.adoc[Maven plugin] also provides a xref:refguide:mvn:swagger.adoc[swagger goal] which allows the spec file(s) to be generated at build time (eg so that client-side stubs can then be generated in turn).
-
-
-
-|===
-
-
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/module-nav.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/module-nav.adoc
index bc519a0..fe1ce6c 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/module-nav.adoc
+++ b/api/applib/src/main/adoc/modules/applib-svc/partials/module-nav.adoc
@@ -11,46 +11,48 @@
 ** xref:refguide:applib-svc:BookmarkUiService.adoc[BookmarkUiService]
 ** xref:refguide:applib-svc:ClockService.adoc[ClockService]
 ** xref:refguide:applib-svc:CommandContext.adoc[CommandContext]
+** xref:refguide:applib-svc:CommandDtoProcessorService.adoc[CommandDtoProcessorService]
+** xref:refguide:applib-svc:CommandExecutorService.adoc[CommandDtoProcessorService]
 ** xref:refguide:applib-svc:CommandService.adoc[CommandService]
-** xref:refguide:applib-svc:ConfigurationViewService.adoc[ConfigurationViewService]
+** xref:refguide:applib-svc:ConfigurationViewService.adoc[ConfigurationViewService] & xref:refguide:applib-svc:ConfigurationMenu.adoc[ConfigurationMenu]
 ** xref:refguide:applib-svc:ContentMappingService.adoc[ContentMappingService]
 ** xref:refguide:applib-svc:DeepLinkService.adoc[DeepLinkService]
 ** xref:refguide:applib-svc:EmailNotificationService.adoc[EmailNotificationService]
 ** xref:refguide:applib-svc:EmailService.adoc[EmailService]
 ** xref:refguide:applib-svc:ErrorReportingService.adoc[ErrorReportingService]
 ** xref:refguide:applib-svc:EventBusService.adoc[EventBusService]
-** xref:refguide:applib-svc:ExceptionRecognizer.adoc[ExceptionRecognizer]
+** xref:refguide:applib-svc:ExceptionRecognizerService.adoc[ExceptionRecognizerService]
 ** xref:refguide:applib-svc:FactoryService.adoc[FactoryService]
 ** xref:refguide:applib-svc:GridLoaderService.adoc[GridLoaderService]
 ** xref:refguide:applib-svc:GridService.adoc[GridService]
 ** xref:refguide:applib-svc:GridSystemService.adoc[GridSystemService]
-** xref:refguide:applib-svc:GuiceBeanProvider.adoc[GuiceBeanProvider]
 ** xref:refguide:applib-svc:HealthCheckService.adoc[HealthCheckService]
 ** xref:refguide:applib-svc:HintStore.adoc[HintStore]
 ** xref:refguide:applib-svc:HomePageResolverService.adoc[HomePageResolverService]
 ** xref:refguide:applib-svc:InteractionContext.adoc[InteractionContext]
 ** xref:refguide:applib-svc:JaxbService.adoc[JaxbService]
-** xref:refguide:applib-svc:LayoutService.adoc[LayoutService]
+** xref:refguide:applib-svc:LayoutService.adoc[LayoutService] &  xref:refguide:applib-svc:LayoutServiceMenu.adoc[LayoutServiceMenu]
 ** xref:refguide:applib-svc:LocaleProvider.adoc[LocaleProvider]
 ** xref:refguide:applib-svc:MenuBarsLoaderService.adoc[MenuBarsLoaderService]
 ** xref:refguide:applib-svc:MenuBarsService.adoc[MenuBarsService]
 ** xref:refguide:applib-svc:MessageService.adoc[MessageService]
-** xref:refguide:applib-svc:MetaModelService_.adoc[MetamodelService]
+** xref:refguide:applib-svc:MetaModelService.adoc[MetamodelService] & xref:refguide:applib-svc:MetaModelServiceMenu.adoc[MetamodelServiceMenu]
 ** xref:refguide:applib-svc:MetricsService.adoc[MetricsService]
 ** xref:refguide:applib-svc:PublisherService.adoc[PublisherService]
 ** xref:refguide:applib-svc:QueryResultsCache.adoc[QueryResultsCache]
 ** xref:refguide:applib-svc:RepositoryService.adoc[RepositoryService]
 ** xref:refguide:applib-svc:RoutingService.adoc[RoutingService]
 ** xref:refguide:applib-svc:Scratchpad.adoc[Scratchpad]
-** xref:refguide:applib-svc:SessionLoggingService.adoc[SessionLoggingService]
+** xref:refguide:applib-svc:ServiceInjector.adoc[ServiceInjector]
 ** xref:refguide:applib-svc:ServiceRegistry.adoc[ServiceRegistry]
+** xref:refguide:applib-svc:SessionLoggingService.adoc[SessionLoggingService]
 ** xref:refguide:applib-svc:SessionManagementService.adoc[SessionManagementService]
-** xref:refguide:applib-svc:SwaggerService.adoc[SwaggerService]
 ** xref:refguide:applib-svc:SudoService.adoc[SudoService]
+** xref:refguide:applib-svc:SwaggerService.adoc[SwaggerService]
 ** xref:refguide:applib-svc:TableColumnOrderService.adoc[TableColumnOrderService]
+** xref:refguide:applib-svc:TitleService.adoc[TitleService]
 ** xref:refguide:applib-svc:TranslationService.adoc[TranslationService]
 ** xref:refguide:applib-svc:TranslationsResolver.adoc[TranslationsResolver]
-** xref:refguide:applib-svc:TitleService.adoc[TitleService]
 ** xref:refguide:applib-svc:TransactionService.adoc[TransactionService]
 ** xref:refguide:applib-svc:UrlEncodingService.adoc[UrlEncodingService]
 ** xref:refguide:applib-svc:UserProfileService.adoc[UserProfileService]
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/persistence-layer-spi.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/persistence-layer-spi.adoc
deleted file mode 100644
index bf93d55..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/persistence-layer-spi.adoc
+++ /dev/null
@@ -1,80 +0,0 @@
-= Persistence Layer SPI
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-
-The persistence layer SPIs influence how the framework persists domain objects, for example controlling how to create an audit log of changes to domain objects.
-
-
-The table below summarizes the persistence layer SPIs defined by Apache Isis.
-It also lists their corresponding implementation, either a default implementation provided by Apache Isis itself, or provided by one of the (non-ASF) link:https://platform.incode.org[Incode Platform^] modules.
-
-
-.Persistence Layer SPI
-[cols="2,4a,1,1", options="header"]
-|===
-
-|SPI
-|Description
-|Implementation
-|Notes
-
-
-
-|xref:refguide:applib-svc:AuditerService.adoc[`o.a.i.applib.` +
-`services.audit` +
-`AuditerService`]
-|Create an audit record for every changed property of every changed object within a transaction.
-|`AuditerServiceLogging` +
-also +
-`AuditerServiceUsingJdo` +
-``o.ia.m.audit`` +
-``isis-module-audit``
-|
-
-
-
-
-|xref:refguide:applib-svc:PublisherService.adoc[`o.a.i.applib.` +
-`services.publish` +
-`PublisherService`]
-|Publish any action invocations/property edits and changed objects, typically for interchange with an external system in a different bounded context.
-|`PublisherServiceLogging` +
-also +
-``PublisherService-`` +
-``UsingActiveMq`` +
-``o.ia.m.publishmq`` +
-``isis-module-publishmq``
-
-|
-
-
-
-
-|xref:refguide:applib-svc:UserRegistrationService.adoc[`o.a.i.applib.` +
-`services.userreg` +
-`UserRegistrationService`]
-|Create a new user account with the configured security mechanism.
-|`SecurityModule-` +
-`AppUserRegistrationService` +
-``o.ia.m.security`` +
-``isis-module-security``
-|depends (implicitly) on: +
-a configured `EmailService`
-
-
-|===
-
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
-Where an implementation is available (on the classpath) then it is always registered automatically (that is, they are all (with one exception) annotated with xref:refguide:applib-ant:DomainService.adoc[`@DomainService`].
-
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/presentation-layer-api.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/presentation-layer-api.adoc
deleted file mode 100644
index 98fe11b..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/presentation-layer-api.adoc
+++ /dev/null
@@ -1,74 +0,0 @@
-= Presentation Layer API
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-
-Domain service APIs for the presentation layer allow the domain objects to control aspects of the user interface.
-The implementations are specific to the particular viewer (xref:vw:ROOT:about.adoc[Wicket viewer] or xref:vro:ROOT:about.adoc[Restful Objects viewer]) so the domain code must guard against them being unavailable in some cases.
-
-
-The table below summarizes the presentation layer APIs defined by Apache Isis.
-It also lists their corresponding implementation.
-
-.Presentation Layer API
-[cols="2,4a,1,1", options="header"]
-|===
-
-|API
-|Description
-|Implementation
-|Notes
-
-|xref:refguide:applib-svc:AcceptHeaderService.adoc[`o.a.i.applib.` +
-`services.acceptheader` +
-`AcceptHeaderService`]
-|Request-scoped access to HTTP Accept headers.
-|`AcceptHeaderServiceDefault` +
-``o.a.i.core`` +
-``isis-core-viewer-restfulobjects-rendering``
-|Implementation only usable within the xref:vro:ROOT:about.adoc[Restful Objects viewer].
-
-
-|xref:refguide:applib-svc:BookmarkUiService.adoc[`o.a.i.applib.` +
-`services.bookmarkui` +
-`BookmarkUiService`]
-|Manage bookmarks and breadcrumbs in the (Wicket) UI.
-|`BookmarkUiServiceWicket` +
-``o.a.i.core`` +
-``isis-core-viewer-wicket-impl``
-|(Implementation only usable within the xref:vw:ROOT:about.adoc[Wicket viewer].
-
-
-|xref:refguide:applib-svc:DeepLinkService.adoc[`o.a.i.applib` +
-`services.deeplink` +
-`DeepLinkService`]
-|Obtain a URL to a domain object (eg for use within an email or report)
-|`DeepLinkServiceWicket` +
-``o.a.i.viewer`` +
-``isis-core-viewer-wicket-impl``
-|Implementation only usable within the xref:vw:ROOT:about.adoc[Wicket viewer].
-
-
-|xref:refguide:applib-svc:GuiceBeanProvider.adoc[`o.a.i.applib.` +
-`services.guice` +
-`GuiceBeanProvider`]
-|Access to internal framework services initialized using Guice DI.
-|`GuiceBeanProviderWicket` +
-``o.a.i.core`` +
-``isis-core-viewer-wicket-impl``
-|Implementation only usable within the xref:vw:ROOT:about.adoc[Wicket viewer].
-
-
-
-
-|===
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
-
diff --git a/api/applib/src/main/adoc/modules/applib-svc/partials/presentation-layer-spi.adoc b/api/applib/src/main/adoc/modules/applib-svc/partials/presentation-layer-spi.adoc
deleted file mode 100644
index ac58326..0000000
--- a/api/applib/src/main/adoc/modules/applib-svc/partials/presentation-layer-spi.adoc
+++ /dev/null
@@ -1,199 +0,0 @@
-= Presentation Layer SPI
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
-
-
-Domain service SPIs for the presentation layer influence how the Apache Isis viewers behave.
-
-The table below summarizes the presentation layer SPIs defined by Apache Isis.
-It also lists their corresponding implementation, either a default implementation provided by Apache Isis itself, or provided by one of the (non-ASF) link:https://platform.incode.org[Incode Platform^] modules.
-
-
-.Presentation Layer SPI
-[cols="2,4a,1,1", options="header"]
-|===
-
-|SPI
-|Description
-|Implementation
-|Notes
-
-
-|xref:refguide:applib-svc:ContentMappingService.adoc[`o.a.i.applb.` +
-`services.conmap` +
-`ContentMappingService`]
-|(Attempt to) map the returned data into the representation required by the client's HTTP `Accept` header.
-|
-|Replaces (and simplifies) the earlier `ContentMappingService` that defined an SPI using classes internal to the
-framework. +
-+
-No default implementation.
-
-
-
-|xref:refguide:applib-svc:EmailNotificationService.adoc[`o.a.i.applib.` +
-`services.userreg` +
-`EmailNotificationService`]
-|Notify a user during xref:refguide:applib-svc:UserRegistrationService.adoc[self-registration] of users.
-|`EmailNotificationService-` +
-`Default` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|depends on: +
-a configured `EmailService`
-
-
-|xref:refguide:applib-svc:ErrorReportingService.adoc[`o.a.i.applib.` +
-`services.error` +
-`ErrorReportingService`]
-|Record details of an error occurring in the system (eg in an external incident recording system such as JIRA), and return a more friendly (jargon-free) message to display to the end user, with optional reference (eg `XXX-1234`).
-|(none)
-|
-
-
-|xref:refguide:applib-svc:ExceptionRecognizer.adoc[`o.a.i.applib.` +
-`services.exceprecog` +
-`ExceptionRecognizer`]
-|Convert certain exceptions (eg foreign or unique key violation in the database) into a format that can be rendered to the end-user.
-|`ExceptionRecognizer-` +
-`CompositeFor-` +
-`JdoObjectStore` +
-``o.a.i.core`` +
-``isis-applib``
-|Extensible using composite pattern if required
-
-
-|xref:refguide:applib-svc:GridSystemService.adoc[`o.a.i.applib.` +
-`services.grid` +
-`GridSystemService`]
-|Validates and normalizes the grid layout for a domain class (with respect to a particular grid
-system such as Bootstrap3), also providing a default grid (for those domain classes where there is no grid layout).
-|`GridSystemServiceBS3` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-|xref:refguide:applib-svc:GridLoaderService.adoc[`o.a.i.applib.` +
-`services.grid` +
-`GridLoaderService`]
-|Responsible for loading a grid layout for a domain class, eg from a `layout.xml` file.
-|`GridLoaderServiceDefault` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-|xref:refguide:applib-svc:GridService.adoc[`o.a.i.applib.` +
-`services.grid` +
-`GridService`]
-|A facade on top of both xref:refguide:applib-svc:GridLoaderService.adoc[`GridLoaderService`] and
-xref:refguide:applib-svc:GridSystemService.adoc[`GridSystemService`], thus being able to return normalized
-grids for any domain class.
-|`GridServiceDefault` +
-``o.a.i.core`` +
-``isis-core-metamodel``
-|
-
-
-|xref:refguide:applib-svc:HintStore.adoc[`o.a.i.applib.` +
-`services.hint` +
-`HintStore`]
-|Stores UI hints on a per-object basis. For example, the viewer remembers which tabs are selected, and for collections which view is selected (eg table or hidden), which page of a table to render, or whether "show all" (rows) is toggled.
-|`HintStoreUsingWicketSession` +
-``o.a.i.viewer`` +
-``isis-viewer-wicket-impl``
-|
-
-
-|xref:refguide:applib-svc:LocaleProvider.adoc[`o.a.i.applib.` +
-`services.i18n` +
-`LocaleProvider`]
-|Request-scoped service to return the locale of the current user, in support of i18n (ie so that the app's UI, messages and exceptions can be translated to the required locale by the xref:refguide:applib-svc:TranslationService.adoc[`TranslationService`].
-|`LocaleProviderWicket` +
-``o.a.i.viewer`` +
-``isis-viewer-wicket-impl``
-|
-
-
-|xref:refguide:applib-svc:RoutingService.adoc[`o.a.i.applib.` +
-`services.routing` +
-`RoutingService`]
-|Return an alternative object than that returned by an action.
-|`RoutingServiceDefault` +
-``o.a.i.core`` +
-``isis-applib``
-|The default implementation will return the home page (per xref:refguide:applib-svc:HomePageResolverService.adoc[`HomePageResolverService`]) if a void or null is returned. +
-Used by the xref:vw:ROOT:about.adoc[Wicket viewer] only.
-
-
-
-|xref:refguide:applib-svc:TableColumnOrderService.adoc[`o.a.i.applib.` +
-`services.tablecol` +
-`TableColumn-` +
-`OrderService`]
-|Allows the columns of a parented or standalone table to be reordered, based upon the parent object, collection id and type of object in the collection..
-|`TableColumn-` +
-`OrderService.Default` +
-``o.a.i.core`` +
-``isis-applib``
-|
-
-
-|xref:refguide:applib-svc:TranslationService.adoc[`o.a.i.applib.` +
-`services.i18n` +
-`TranslationService`]
-|Translate an app's UI, messages and exceptions for the current user (as per the locale provided by xref:refguide:applib-svc:LocaleProvider.adoc[`LocalProvider`].
-|`TranslationServicePo` +
-``o.a.i.core`` +
-``isis-core-runtime``
-|related services: `TranslationServicePoMenu` +
-depends on: +
-`TranslationsResolver`, `LocaleProvider`
-
-
-|xref:refguide:applib-svc:TranslationsResolver.adoc[`o.a.i.applib.` +
-`services.i18n` +
-`TranslationsResolver`]
-|Obtain translations for a particuar phrase and locale, in support of i18n (ie so that the app's UI, messages and exceptions can be translated to the required locale by the xref:refguide:applib-svc:TranslationService.adoc[`TranslationService`]
-|`TranslationsResolverWicket` +
-``o.a.i.viewer`` +
-``isis-viewer-wicket-impl``
-|
-
-
-|xref:refguide:applib-svc:UrlEncodingService.adoc[`o.a.i.applib.` +
-`services.urlencoding` +
-`UrlEncodingService`]
-|Converts strings into a form safe for use within a URL.  Used to convert view models mementos into usable URL form.
-
-|`UrlEncodingService` +
-`UsingBaseEncoding` +
-``o.a.i.applib`` +
-``isis-applib``
-|
-
-
-|xref:refguide:applib-svc:UserProfileService.adoc[`o.a.i.applib.` +
-`services.userprof` +
-`UserProfileService`]
-|Obtain an alternative (usually enriched/customized) name for the current user, to render in the UI.
-|
-|
-
-
-|===
-
-Key:
-
-* `o.a.i` is an abbreviation for `org.apache.isis`
-* `o.ia.m` is an abbreviation for `org.isisaddons.module`
-* `o.a.i.c.m.s` is an abbreviation for `org.apache.isis.core.metamodel.services`
-* `o.a.i.c.r.s` is an abbreviation for `org.apache.isis.core.runtime.services`
-
-
-
-
-
-
-
diff --git a/api/applib/src/main/java/org/apache/isis/applib/IsisModuleApplib.java b/api/applib/src/main/java/org/apache/isis/applib/IsisModuleApplib.java
index 3c5f98e..0774410 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/IsisModuleApplib.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/IsisModuleApplib.java
@@ -40,12 +40,9 @@ import org.apache.isis.applib.services.conmap.command.ContentMappingServiceForCo
 import org.apache.isis.applib.services.iactn.InteractionContext;
 import org.apache.isis.applib.services.jaxb.JaxbServiceDefault;
 import org.apache.isis.applib.services.layout.LayoutServiceMenu;
-import org.apache.isis.applib.services.metamodel.MetaModelServicesMenu;
+import org.apache.isis.applib.services.metamodel.MetaModelServiceMenu;
 import org.apache.isis.applib.services.publish.PublisherServiceLogging;
-import org.apache.isis.applib.services.queryresultscache.QueryResultsCacheDefault;
 import org.apache.isis.applib.services.scratchpad.Scratchpad;
-import org.apache.isis.applib.services.tablecol.TableColumnOrderService;
-import org.apache.isis.applib.services.urlencoding.UrlEncodingServiceWithCompression;
 import org.apache.isis.schema.IsisModuleSchema;
 
 @Configuration
@@ -68,7 +65,7 @@ import org.apache.isis.schema.IsisModuleSchema;
         // @DomainService's
         ConfigurationMenu.class,
         LayoutServiceMenu.class,
-        MetaModelServicesMenu.class,
+        MetaModelServiceMenu.class,
 
         // @Service's
         AuditerServiceLogging.class,
@@ -79,10 +76,7 @@ import org.apache.isis.schema.IsisModuleSchema;
         InteractionContext.class,
         JaxbServiceDefault.class,
         PublisherServiceLogging.class,
-        QueryResultsCacheDefault.class,
-        Scratchpad.class,
-        TableColumnOrderService.Default.class,
-        UrlEncodingServiceWithCompression.class,
+        Scratchpad.class
 
 })
 public class IsisModuleApplib {
diff --git a/api/applib/src/main/java/org/apache/isis/applib/annotation/OrderPrecedence.java b/api/applib/src/main/java/org/apache/isis/applib/annotation/OrderPrecedence.java
index 26b7791..7751a58 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/annotation/OrderPrecedence.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/annotation/OrderPrecedence.java
@@ -28,7 +28,9 @@ import lombok.experimental.UtilityClass;
 public class OrderPrecedence {
 
     /**
-     * Useful constant for the highest precedence value.
+     * For domain services with the highest precedence value.
+     * No framework services use this constant, but some very fundamental services (eg for security)
+     * that are not expected to be overridden use a value that is only a little after this first value.
      *
      * @see java.lang.Integer#MIN_VALUE
      * @see Ordered#HIGHEST_PRECEDENCE
@@ -36,25 +38,25 @@ public class OrderPrecedence {
     public static final int FIRST = Ordered.HIGHEST_PRECEDENCE;
 
     /**
-     * Useful constant for the lowest precedence value.
-     *
-     * @see java.lang.Integer#MAX_VALUE
-     * @see Ordered#LOWEST_PRECEDENCE
-     */
-    public static final int LAST = Ordered.LOWEST_PRECEDENCE;
-
-    /**
-     * Used by framework services that are unlikely to be overridden by application code.
+     * For framework for services that are unlikely to be overridden by application code.
      */
     public static final int EARLY = FIRST / 2;
     /**
-     * Used by framework services that could be overridden by application code (though not commonly).
+     * For framework for services that could be overridden by application code (though not commonly).
      */
     public static final int MIDPOINT = 0;
     /**
-     * Used by framework services that are expected to be overridden by application code, or that act as a fallback.
+     * For framework services that are expected to be overridden by application code, or that act as a fallback.
      */
     public static final int LATE = OrderPrecedence.LAST / 2;
 
+    /**
+     * For domain services that act as a fallback, and which will typically be overridden.
+     *
+     * @see java.lang.Integer#MAX_VALUE
+     * @see Ordered#LOWEST_PRECEDENCE
+     */
+    public static final int LAST = Ordered.LOWEST_PRECEDENCE;
+
 }
 // end::refguide[]
diff --git a/api/applib/src/main/java/org/apache/isis/applib/mixins/metamodel/Object_downloadMetaModelXml.java b/api/applib/src/main/java/org/apache/isis/applib/mixins/metamodel/Object_downloadMetaModelXml.java
index c7d59f5..0cdc78f 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/mixins/metamodel/Object_downloadMetaModelXml.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/mixins/metamodel/Object_downloadMetaModelXml.java
@@ -33,7 +33,7 @@ import org.apache.isis.applib.annotation.SemanticsOf;
 import org.apache.isis.applib.mixins.MixinConstants;
 import org.apache.isis.applib.services.jaxb.JaxbService;
 import org.apache.isis.applib.services.metamodel.MetaModelService;
-import org.apache.isis.applib.services.metamodel.MetaModelServicesMenu;
+import org.apache.isis.applib.services.metamodel.MetaModelServiceMenu;
 import org.apache.isis.applib.value.Clob;
 import org.apache.isis.applib.value.NamedWithMimeType.CommonMimeType;
 
@@ -100,7 +100,8 @@ public class Object_downloadMetaModelXml {
 
     @Inject MetaModelService metaModelService;
     @Inject JaxbService jaxbService;
-    @Inject MetaModelServicesMenu metaModelServicesMenu;
+    @Inject
+    MetaModelServiceMenu metaModelServiceMenu;
 
 
 
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/confview/ConfigurationMenu.java b/api/applib/src/main/java/org/apache/isis/applib/services/confview/ConfigurationMenu.java
index fc79ee7..a400a9f 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/confview/ConfigurationMenu.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/confview/ConfigurationMenu.java
@@ -48,11 +48,11 @@ public class ConfigurationMenu {
         this.configurationService = configurationService;
     }
 
-    public static class AllConfigurationPropertiesDomainEvent
+    public static class ConfigurationDomainEvent
         extends ActionDomainEvent {}
 
     @Action(
-            domainEvent = AllConfigurationPropertiesDomainEvent.class,
+            domainEvent = ConfigurationDomainEvent.class,
             semantics = SemanticsOf.SAFE
             )
     @ActionLayout(
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/jaxb/JaxbServiceDefault.java b/api/applib/src/main/java/org/apache/isis/applib/services/jaxb/JaxbServiceDefault.java
index 9a70e93..e76bece 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/jaxb/JaxbServiceDefault.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/jaxb/JaxbServiceDefault.java
@@ -40,7 +40,6 @@ import org.apache.isis.applib.jaxbadapters.PersistentEntitiesAdapter;
 import org.apache.isis.applib.jaxbadapters.PersistentEntityAdapter;
 import org.apache.isis.applib.services.inject.ServiceInjector;
 import org.apache.isis.applib.services.metamodel.MetaModelService;
-import org.apache.isis.applib.services.registry.ServiceRegistry;
 
 @Service
 @Named("isisApplib.JaxbServiceDefault")
@@ -49,6 +48,15 @@ import org.apache.isis.applib.services.registry.ServiceRegistry;
 @Qualifier("Default")
 public class JaxbServiceDefault extends JaxbService.Simple {
 
+    private final ServiceInjector serviceInjector;
+    private final MetaModelService metaModelService;
+
+    @Inject
+    public JaxbServiceDefault(ServiceInjector serviceInjector, MetaModelService metaModelService) {
+        this.serviceInjector = serviceInjector;
+        this.metaModelService = metaModelService;
+    }
+
     @Override
     public Object fromXml(final JAXBContext jaxbContext, final String xml, final Map<String, Object> unmarshallerProperties) {
         try {
@@ -110,8 +118,5 @@ public class JaxbServiceDefault extends JaxbService.Simple {
     }
 
 
-    @Inject ServiceRegistry serviceRegistry;
-    @Inject ServiceInjector serviceInjector;
-    @Inject MetaModelService metaModelService;
 }
 
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelService.java b/api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelService.java
index ecb80b3..6d820b0 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelService.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelService.java
@@ -59,7 +59,7 @@ public interface MetaModelService {
      * Returns a list of representations of each of member of each domain class.
      *
      * <p>
-     *     Used by {@link MetaModelServicesMenu} to return a downloadable CSV.
+     *     Used by {@link MetaModelServiceMenu} to return a downloadable CSV.
      * </p>
      *
      * <p>
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelServicesMenu.java b/api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelServiceMenu.java
similarity index 97%
rename from api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelServicesMenu.java
rename to api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelServiceMenu.java
index 86dbb92..0b76f27 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelServicesMenu.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/metamodel/MetaModelServiceMenu.java
@@ -47,20 +47,20 @@ import org.apache.isis.core.commons.internal.collections._Lists;
 import org.apache.isis.core.commons.internal.collections._Sets;
 import org.apache.isis.schema.metamodel.v2.MetamodelDto;
 
-@Named("isisApplib.MetaModelServicesMenu")
-@DomainService(objectType = "isisApplib.MetaModelServicesMenu")
+@Named("isisApplib.MetaModelServiceMenu")
+@DomainService(objectType = "isisApplib.MetaModelServiceMenu")
 @DomainServiceLayout(
         named = "Prototyping",
         menuBar = DomainServiceLayout.MenuBar.SECONDARY
 )
-public class MetaModelServicesMenu {
+public class MetaModelServiceMenu {
 
-    public static abstract class ActionDomainEvent extends IsisModuleApplib.ActionDomainEvent<MetaModelServicesMenu> { }
+    public static abstract class ActionDomainEvent extends IsisModuleApplib.ActionDomainEvent<MetaModelServiceMenu> { }
 
     final MimeType mimeTypeTextCsv;
     final MimeType mimeTypeTextXml;
 
-    public MetaModelServicesMenu() {
+    public MetaModelServiceMenu() {
         try {
             mimeTypeTextCsv = new MimeType("text", "csv");
             mimeTypeTextXml = new MimeType("application", "xml");
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/tablecol/TableColumnOrderService.java b/api/applib/src/main/java/org/apache/isis/applib/services/tablecol/TableColumnOrderService.java
index dd2b60b..e2586d3 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/tablecol/TableColumnOrderService.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/tablecol/TableColumnOrderService.java
@@ -43,33 +43,7 @@ public interface TableColumnOrderService {
             final List<String> propertyIds);
 
 // end::refguide[]
-    /**
-     * Used as a fallback.
-     */
-    @Service
-    @Named("isisApplib.TableColumnOrderService.Default")
-    @Order(OrderPrecedence.LATE)
-    @Primary
-    @Qualifier("Default")
-    public static class Default implements TableColumnOrderService {
-
-        @Override
-        public List<String> orderParented(
-                final Object parent,
-                final String collectionId,
-                final Class<?> collectionType,
-                final List<String> propertyIds) {
-            return propertyIds;
-        }
-
-        @Override
-        public List<String> orderStandalone(
-                final Class<?> collectionType,
-                final List<String> propertyIds) {
-            return propertyIds;
-        }
-    }
-// tag::refguide[]
+    // tag::refguide[]
 
 }
 // end::refguide[]
diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/IsisModuleCoreMetamodel.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/IsisModuleCoreMetamodel.java
index b2bb85f..31f4041 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/IsisModuleCoreMetamodel.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/IsisModuleCoreMetamodel.java
@@ -43,6 +43,7 @@ import org.apache.isis.core.metamodel.services.grid.bootstrap3.GridSystemService
 import org.apache.isis.core.metamodel.services.layout.LayoutServiceDefault;
 import org.apache.isis.core.metamodel.services.metamodel.MetaModelServiceDefault;
 import org.apache.isis.core.metamodel.services.registry.ServiceRegistryDefault;
+import org.apache.isis.core.metamodel.services.tablecol.TableColumnOrderServiceDefault;
 import org.apache.isis.core.metamodel.services.title.TitleServiceDefault;
 import org.apache.isis.core.metamodel.services.user.UserServiceDefault;
 import org.apache.isis.core.metamodel.specloader.InjectorMethodEvaluatorDefault;
@@ -91,6 +92,7 @@ import org.apache.isis.core.security.IsisModuleCoreSecurity;
         MetaModelServiceDefault.class,
         ProgrammingModelServiceDefault.class,
         ServiceRegistryDefault.class,
+        TableColumnOrderServiceDefault.class,
         TitleServiceDefault.class,
         SpecificationLoaderDefault.class,
         UserServiceDefault.class,
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceWithCompression.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/tablecol/TableColumnOrderServiceDefault.java
similarity index 61%
copy from api/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceWithCompression.java
copy to core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/tablecol/TableColumnOrderServiceDefault.java
index 1554e6b..0077223 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceWithCompression.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/tablecol/TableColumnOrderServiceDefault.java
@@ -16,9 +16,9 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-package org.apache.isis.applib.services.urlencoding;
+package org.apache.isis.core.metamodel.services.tablecol;
 
-import java.nio.charset.StandardCharsets;
+import java.util.List;
 
 import javax.inject.Named;
 
@@ -28,25 +28,31 @@ import org.springframework.core.annotation.Order;
 import org.springframework.stereotype.Service;
 
 import org.apache.isis.applib.annotation.OrderPrecedence;
-import org.apache.isis.core.commons.internal.base._Bytes;
-import org.apache.isis.core.commons.internal.base._Strings;
+import org.apache.isis.applib.services.tablecol.TableColumnOrderService;
 
+/**
+ * Used as a fallback.
+ */
 @Service
-@Named("isisApplib.UrlEncodingServiceWithCompression")
-@Order(OrderPrecedence.MIDPOINT)
+@Named("isisMetaModel.TableColumnOrderServiceDefault")
+@Order(OrderPrecedence.LATE)
 @Primary
-@Qualifier("Compression")
-public class UrlEncodingServiceWithCompression implements UrlEncodingService {
+@Qualifier("Default")
+public class TableColumnOrderServiceDefault implements TableColumnOrderService {
 
     @Override
-    public String encode(final byte[] bytes) {
-        return _Strings.ofBytes(_Bytes.asCompressedUrlBase64.apply(bytes), StandardCharsets.UTF_8);
+    public List<String> orderParented(
+            final Object parent,
+            final String collectionId,
+            final Class<?> collectionType,
+            final List<String> propertyIds) {
+        return propertyIds;
     }
 
     @Override
-    public byte[] decode(final String str) {
-        return _Bytes.ofCompressedUrlBase64.apply(_Strings.toBytes(str, StandardCharsets.UTF_8));
+    public List<String> orderStandalone(
+            final Class<?> collectionType,
+            final List<String> propertyIds) {
+        return propertyIds;
     }
-
-
 }
diff --git a/core/runtimeservices/src/main/adoc/modules/runtime-services/pages/about.adoc b/core/runtimeservices/src/main/adoc/modules/runtime-services/pages/about.adoc
index 64b0690..a58377a 100644
--- a/core/runtimeservices/src/main/adoc/modules/runtime-services/pages/about.adoc
+++ b/core/runtimeservices/src/main/adoc/modules/runtime-services/pages/about.adoc
@@ -1,4 +1,4 @@
-= Runtime (non-API) Services
+= Core Runtime Services
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
 :page-role: -toc -title
 
diff --git a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/IsisModuleCoreRuntimeServices.java b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/IsisModuleCoreRuntimeServices.java
index 5f58f6d..4a5291d 100644
--- a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/IsisModuleCoreRuntimeServices.java
+++ b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/IsisModuleCoreRuntimeServices.java
@@ -29,7 +29,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator;
 import org.apache.isis.core.codegen.bytebuddy.IsisModuleCoreCodegenByteBuddy;
 import org.apache.isis.core.runtime.IsisModuleCoreRuntime;
 import org.apache.isis.core.runtimeservices.auth.AuthenticationSessionProviderDefault;
-import org.apache.isis.core.runtimeservices.bookmarks.BookmarkServiceInternalDefault;
+import org.apache.isis.core.runtimeservices.bookmarks.BookmarkServiceDefault;
 import org.apache.isis.core.runtimeservices.command.CommandDtoServiceInternalDefault;
 import org.apache.isis.core.runtimeservices.command.CommandExecutorServiceDefault;
 import org.apache.isis.core.runtimeservices.command.CommandServiceDefault;
@@ -46,10 +46,12 @@ import org.apache.isis.core.runtimeservices.menubars.MenuBarsLoaderServiceDefaul
 import org.apache.isis.core.runtimeservices.menubars.bootstrap3.MenuBarsServiceBS3;
 import org.apache.isis.core.runtimeservices.message.MessageServiceDefault;
 import org.apache.isis.core.runtimeservices.publish.PublisherDispatchServiceDefault;
+import org.apache.isis.core.runtimeservices.queryresultscache.QueryResultsCacheDefault;
 import org.apache.isis.core.runtimeservices.repository.RepositoryServiceDefault;
 import org.apache.isis.core.runtimeservices.routing.RoutingServiceDefault;
 import org.apache.isis.core.runtimeservices.sessmgmt.SessionManagementServiceDefault;
 import org.apache.isis.core.runtimeservices.sudo.SudoServiceDefault;
+import org.apache.isis.core.runtimeservices.urlencoding.UrlEncodingServiceWithCompression;
 import org.apache.isis.core.runtimeservices.userprof.UserProfileServiceDefault;
 import org.apache.isis.core.runtimeservices.userreg.EmailNotificationServiceDefault;
 import org.apache.isis.core.runtimeservices.wrapper.WrapperFactoryDefault;
@@ -64,7 +66,7 @@ import org.apache.isis.core.runtimeservices.xmlsnapshot.XmlSnapshotServiceDefaul
 
         // @Service's
         AuthenticationSessionProviderDefault.class,
-        BookmarkServiceInternalDefault.class,
+        BookmarkServiceDefault.class,
         CommandDtoServiceInternalDefault.class,
         CommandExecutorServiceDefault.class,
         CommandServiceDefault.class,
@@ -81,9 +83,11 @@ import org.apache.isis.core.runtimeservices.xmlsnapshot.XmlSnapshotServiceDefaul
         MenuBarsServiceBS3.class,
         MessageServiceDefault.class,
         PublisherDispatchServiceDefault.class,
+        QueryResultsCacheDefault.class,
         SessionManagementServiceDefault.class,
         SudoServiceDefault.class,
         TransactionServiceSpring.class,
+        UrlEncodingServiceWithCompression.class,
         UserProfileServiceDefault.class,
         WrapperFactoryDefault.class,
         XmlSnapshotServiceDefault.class,
@@ -96,6 +100,7 @@ import org.apache.isis.core.runtimeservices.xmlsnapshot.XmlSnapshotServiceDefaul
 
         // @DomainService's
         TranslationServicePoMenu.class,
+
 })
 public class IsisModuleCoreRuntimeServices /*implements ApplicationContextAware*/ {
 
diff --git a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/bookmarks/BookmarkServiceInternalDefault.java b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/bookmarks/BookmarkServiceDefault.java
similarity index 98%
rename from core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/bookmarks/BookmarkServiceInternalDefault.java
rename to core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/bookmarks/BookmarkServiceDefault.java
index c67d868..c80a5e8 100644
--- a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/bookmarks/BookmarkServiceInternalDefault.java
+++ b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/bookmarks/BookmarkServiceDefault.java
@@ -51,14 +51,13 @@ import lombok.val;
 
 /**
  * This service enables a serializable 'bookmark' to be created for an entity.
- *
  */
 @Service
-@Named("isisRuntimeServices.BookmarkServiceInternalDefault")
+@Named("isisRuntimeServices.BookmarkServiceDefault")
 @Order(OrderPrecedence.MIDPOINT)
 @Primary
 @Qualifier("Default")
-public class BookmarkServiceInternalDefault implements BookmarkService, SerializingAdapter {
+public class BookmarkServiceDefault implements BookmarkService, SerializingAdapter {
 
     @Inject private SpecificationLoader specificationLoader;
     @Inject private WrapperFactory wrapperFactory;
diff --git a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/exceprecog/ExceptionRecognizerServiceDefault.java b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/exceprecog/ExceptionRecognizerServiceDefault.java
index 15ca716..5fb8bc1 100644
--- a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/exceprecog/ExceptionRecognizerServiceDefault.java
+++ b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/exceprecog/ExceptionRecognizerServiceDefault.java
@@ -20,8 +20,10 @@ package org.apache.isis.core.runtimeservices.exceprecog;
 
 import java.util.Optional;
 
+import javax.annotation.Nonnull;
 import javax.inject.Inject;
 import javax.inject.Named;
+import javax.validation.constraints.NotNull;
 
 import org.springframework.beans.factory.annotation.Qualifier;
 import org.springframework.context.annotation.Primary;
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/queryresultscache/QueryResultsCacheDefault.java b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/queryresultscache/QueryResultsCacheDefault.java
similarity index 97%
rename from api/applib/src/main/java/org/apache/isis/applib/services/queryresultscache/QueryResultsCacheDefault.java
rename to core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/queryresultscache/QueryResultsCacheDefault.java
index 5ddf15c..5005fdb 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/queryresultscache/QueryResultsCacheDefault.java
+++ b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/queryresultscache/QueryResultsCacheDefault.java
@@ -16,7 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-package org.apache.isis.applib.services.queryresultscache;
+package org.apache.isis.core.runtimeservices.queryresultscache;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.Callable;
@@ -32,6 +32,8 @@ import org.springframework.stereotype.Service;
 
 import org.apache.isis.applib.annotation.OrderPrecedence;
 import org.apache.isis.applib.services.WithTransactionScope;
+import org.apache.isis.applib.services.queryresultscache.QueryResultCacheControl;
+import org.apache.isis.applib.services.queryresultscache.QueryResultsCache;
 import org.apache.isis.core.commons.handler.MethodReferences.Call0;
 import org.apache.isis.core.commons.handler.MethodReferences.Call1;
 import org.apache.isis.core.commons.handler.MethodReferences.Call2;
@@ -55,7 +57,7 @@ import lombok.extern.log4j.Log4j2;
  * available for use; no further configuration is required.
  */
 @Service
-@Named("isisApplib.QueryResultsCacheInternal")
+@Named("isisRuntime.QueryResultsCacheDefault")
 @Order(OrderPrecedence.EARLY)
 @Primary
 @RequestScoped
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceWithCompression.java b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/urlencoding/UrlEncodingServiceWithCompression.java
similarity index 90%
rename from api/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceWithCompression.java
rename to core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/urlencoding/UrlEncodingServiceWithCompression.java
index 1554e6b..e31008c 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceWithCompression.java
+++ b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/urlencoding/UrlEncodingServiceWithCompression.java
@@ -16,7 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-package org.apache.isis.applib.services.urlencoding;
+package org.apache.isis.core.runtimeservices.urlencoding;
 
 import java.nio.charset.StandardCharsets;
 
@@ -28,11 +28,12 @@ import org.springframework.core.annotation.Order;
 import org.springframework.stereotype.Service;
 
 import org.apache.isis.applib.annotation.OrderPrecedence;
+import org.apache.isis.applib.services.urlencoding.UrlEncodingService;
 import org.apache.isis.core.commons.internal.base._Bytes;
 import org.apache.isis.core.commons.internal.base._Strings;
 
 @Service
-@Named("isisApplib.UrlEncodingServiceWithCompression")
+@Named("isisRuntimeServices.UrlEncodingServiceWithCompression")
 @Order(OrderPrecedence.MIDPOINT)
 @Primary
 @Qualifier("Compression")
diff --git a/api/applib/src/test/java/org/apache/isis/applib/services/urlencoding/MementosTest.java b/core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/urlencoding/MementosTest.java
similarity index 96%
rename from api/applib/src/test/java/org/apache/isis/applib/services/urlencoding/MementosTest.java
rename to core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/urlencoding/MementosTest.java
index 76f3e8b..d72f745 100644
--- a/api/applib/src/test/java/org/apache/isis/applib/services/urlencoding/MementosTest.java
+++ b/core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/urlencoding/MementosTest.java
@@ -17,7 +17,7 @@
  *  under the License.
  */
 
-package org.apache.isis.applib.services.urlencoding;
+package org.apache.isis.core.runtimeservices.urlencoding;
 
 import java.io.Serializable;
 import java.math.BigDecimal;
@@ -33,6 +33,8 @@ import static org.hamcrest.CoreMatchers.nullValue;
 import static org.junit.Assert.assertThat;
 
 import org.apache.isis.applib.services.bookmark.Bookmark;
+import org.apache.isis.applib.services.urlencoding.UrlEncodingService;
+import org.apache.isis.applib.services.urlencoding.UrlEncodingServiceUsingBaseEncodingAbstract;
 import org.apache.isis.core.commons.internal.base._Casts;
 import org.apache.isis.core.commons.internal.memento._Mementos;
 import org.apache.isis.core.commons.internal.memento._Mementos.Memento;
diff --git a/api/applib/src/test/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceTest.java b/core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/urlencoding/UrlEncodingServiceTest.java
similarity index 91%
rename from api/applib/src/test/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceTest.java
rename to core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/urlencoding/UrlEncodingServiceTest.java
index 5aa90f2..6142262 100644
--- a/api/applib/src/test/java/org/apache/isis/applib/services/urlencoding/UrlEncodingServiceTest.java
+++ b/core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/urlencoding/UrlEncodingServiceTest.java
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.isis.applib.services.urlencoding;
+package org.apache.isis.core.runtimeservices.urlencoding;
 
 import org.junit.Assert;
 import org.junit.Before;
@@ -24,6 +24,9 @@ import static org.hamcrest.CoreMatchers.equalTo;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.Matchers.greaterThan;
 
+import org.apache.isis.applib.services.urlencoding.UrlEncodingService;
+import org.apache.isis.applib.services.urlencoding.UrlEncodingServiceUsingBaseEncodingAbstract;
+
 public class UrlEncodingServiceTest {
 
     UrlEncodingServiceWithCompression serviceWithCompression;
diff --git a/examples/smoketests/src/test/resources/org/apache/isis/testdomain/bootstrapping/builtin-domain-services.list b/examples/smoketests/src/test/resources/org/apache/isis/testdomain/bootstrapping/builtin-domain-services.list
index b3ce4c7..df3e175 100644
--- a/examples/smoketests/src/test/resources/org/apache/isis/testdomain/bootstrapping/builtin-domain-services.list
+++ b/examples/smoketests/src/test/resources/org/apache/isis/testdomain/bootstrapping/builtin-domain-services.list
@@ -7,7 +7,7 @@ org.apache.isis.applib.services.layout.LayoutServiceMenu
 org.apache.isis.applib.services.metamodel.MetaModelServicesMenu
 org.apache.isis.applib.services.scratchpad.Scratchpad
 org.apache.isis.applib.services.tablecol.TableColumnOrderService$Default
-org.apache.isis.applib.services.urlencoding.UrlEncodingServiceWithCompression
+org.apache.isis.core.runtimeservices.urlencoding.UrlEncodingServiceWithCompression
 org.apache.isis.extensions.fixtures.fixturescripts.FixtureScripts
 ServiceRegistryDefault
 UserServiceDefault$SudoServiceSpi
diff --git a/extensions/adoc/modules/ROOT/partials/component-nav.adoc b/extensions/adoc/modules/ROOT/partials/component-nav.adoc
index 85bf24f..a12aef9 100644
--- a/extensions/adoc/modules/ROOT/partials/component-nav.adoc
+++ b/extensions/adoc/modules/ROOT/partials/component-nav.adoc
@@ -2,6 +2,8 @@ include::extensions:ROOT:partial$module-nav.adoc[]
 
 * Core
 
+include::session-log:partial$module-nav.adoc[]
+include::command-log:partial$module-nav.adoc[]
 include::userguide:flyway:partial$module-nav.adoc[]
 
 * Security
diff --git a/extensions/core/auditer/adoc/modules/auditer/nav.adoc b/extensions/core/auditer/adoc/modules/auditer/nav.adoc
deleted file mode 100644
index dba32e5..0000000
--- a/extensions/core/auditer/adoc/modules/auditer/nav.adoc
+++ /dev/null
@@ -1 +0,0 @@
-include::userguide:ROOT:partial$component-nav.adoc[]
diff --git a/extensions/core/auditer/adoc/modules/auditer/partials/module-nav.adoc b/extensions/core/auditer/adoc/modules/auditer/partials/module-nav.adoc
deleted file mode 100644
index 42c5f8f..0000000
--- a/extensions/core/auditer/adoc/modules/auditer/partials/module-nav.adoc
+++ /dev/null
@@ -1,3 +0,0 @@
-** xref:extensions:auditer:about.adoc[Auditer]
-
-
diff --git a/extensions/core/auditer/adoc/antora.yml b/extensions/core/command-log/adoc/antora.yml
similarity index 100%
rename from extensions/core/auditer/adoc/antora.yml
rename to extensions/core/command-log/adoc/antora.yml
diff --git a/extensions/core/command-log/adoc/modules/command-log/nav.adoc b/extensions/core/command-log/adoc/modules/command-log/nav.adoc
new file mode 100644
index 0000000..28945c3
--- /dev/null
+++ b/extensions/core/command-log/adoc/modules/command-log/nav.adoc
@@ -0,0 +1 @@
+include::extensions:ROOT:partial$component-nav.adoc[]
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc b/extensions/core/command-log/adoc/modules/command-log/pages/about.adoc
similarity index 88%
copy from api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
copy to extensions/core/command-log/adoc/modules/command-log/pages/about.adoc
index 49d55d7..eebc1a9 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
+++ b/extensions/core/command-log/adoc/modules/command-log/pages/about.adoc
@@ -1,8 +1,5 @@
-[[ConfigurationViewService]]
-= `ConfigurationViewService`
+= Command Log
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
 
-
-// TODO: v2: to document.
+WARNING: TODO: v2 - will move this into the framework, update these docs
 
diff --git a/extensions/core/command-log/adoc/modules/command-log/partials/module-nav.adoc b/extensions/core/command-log/adoc/modules/command-log/partials/module-nav.adoc
new file mode 100644
index 0000000..5e7aa20
--- /dev/null
+++ b/extensions/core/command-log/adoc/modules/command-log/partials/module-nav.adoc
@@ -0,0 +1,3 @@
+** xref:command-log:about.adoc[Command Log]
+
+
diff --git a/extensions/security/audit-trail/adoc/antora.yml b/extensions/security/audit-trail/adoc/antora.yml
new file mode 100644
index 0000000..09a6b1a
--- /dev/null
+++ b/extensions/security/audit-trail/adoc/antora.yml
@@ -0,0 +1,2 @@
+name: security
+version: master
diff --git a/extensions/security/audit-trail/adoc/modules/auditer/nav.adoc b/extensions/security/audit-trail/adoc/modules/auditer/nav.adoc
new file mode 100644
index 0000000..4ec4e15
--- /dev/null
+++ b/extensions/security/audit-trail/adoc/modules/auditer/nav.adoc
@@ -0,0 +1 @@
+include::security:ROOT:partial$component-nav.adoc[]
diff --git a/extensions/core/auditer/adoc/modules/auditer/pages/about.adoc b/extensions/security/audit-trail/adoc/modules/auditer/pages/about.adoc
similarity index 100%
rename from extensions/core/auditer/adoc/modules/auditer/pages/about.adoc
rename to extensions/security/audit-trail/adoc/modules/auditer/pages/about.adoc
diff --git a/extensions/security/audit-trail/adoc/modules/auditer/partials/module-nav.adoc b/extensions/security/audit-trail/adoc/modules/auditer/partials/module-nav.adoc
new file mode 100644
index 0000000..d52f1c8
--- /dev/null
+++ b/extensions/security/audit-trail/adoc/modules/auditer/partials/module-nav.adoc
@@ -0,0 +1,3 @@
+** xref:security:audit-trail:about.adoc[Audit Trail]
+
+
diff --git a/extensions/security/session-log/adoc/antora.yml b/extensions/security/session-log/adoc/antora.yml
new file mode 100644
index 0000000..09a6b1a
--- /dev/null
+++ b/extensions/security/session-log/adoc/antora.yml
@@ -0,0 +1,2 @@
+name: security
+version: master
diff --git a/extensions/security/session-log/adoc/modules/session-log/nav.adoc b/extensions/security/session-log/adoc/modules/session-log/nav.adoc
new file mode 100644
index 0000000..28945c3
--- /dev/null
+++ b/extensions/security/session-log/adoc/modules/session-log/nav.adoc
@@ -0,0 +1 @@
+include::extensions:ROOT:partial$component-nav.adoc[]
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc b/extensions/security/session-log/adoc/modules/session-log/pages/about.adoc
similarity index 88%
copy from api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
copy to extensions/security/session-log/adoc/modules/session-log/pages/about.adoc
index 49d55d7..6ac7ae1 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
+++ b/extensions/security/session-log/adoc/modules/session-log/pages/about.adoc
@@ -1,8 +1,5 @@
-[[ConfigurationViewService]]
-= `ConfigurationViewService`
+= Session Log
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
 
-
-// TODO: v2: to document.
+WARNING: TODO: v2 - will move this into the framework, update these docs
 
diff --git a/extensions/security/session-log/adoc/modules/session-log/partials/module-nav.adoc b/extensions/security/session-log/adoc/modules/session-log/partials/module-nav.adoc
new file mode 100644
index 0000000..9c50a1d
--- /dev/null
+++ b/extensions/security/session-log/adoc/modules/session-log/partials/module-nav.adoc
@@ -0,0 +1,3 @@
+** xref:session-log:about.adoc[Session Log]
+
+
diff --git a/mappings/adoc/modules/ROOT/partials/component-nav.adoc b/mappings/adoc/modules/ROOT/partials/component-nav.adoc
index db1be42..0b1ebf4 100644
--- a/mappings/adoc/modules/ROOT/partials/component-nav.adoc
+++ b/mappings/adoc/modules/ROOT/partials/component-nav.adoc
@@ -1,5 +1,6 @@
 include::mappings:ROOT:partial$module-nav.adoc[]
 
+include::mappings:publisher:partial$module-nav.adoc[]
 include::mappings:jaxrsclient:partial$module-nav.adoc[]
 include::mappings:minio:partial$module-nav.adoc[]
 include::mappings:restclient:partial$module-nav.adoc[]
diff --git a/mappings/publisher/adoc/antora.yml b/mappings/publisher/adoc/antora.yml
new file mode 100644
index 0000000..a6a9467
--- /dev/null
+++ b/mappings/publisher/adoc/antora.yml
@@ -0,0 +1,2 @@
+name: mappings
+version: master
diff --git a/mappings/publisher/adoc/modules/publisher/nav.adoc b/mappings/publisher/adoc/modules/publisher/nav.adoc
new file mode 100644
index 0000000..c06de12
--- /dev/null
+++ b/mappings/publisher/adoc/modules/publisher/nav.adoc
@@ -0,0 +1 @@
+include::mappings:ROOT:partial$component-nav.adoc[]
diff --git a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc b/mappings/publisher/adoc/modules/publisher/pages/about.adoc
similarity index 88%
copy from api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
copy to mappings/publisher/adoc/modules/publisher/pages/about.adoc
index 49d55d7..5a73610 100644
--- a/api/applib/src/main/adoc/modules/applib-svc/pages/ConfigurationViewService.adoc
+++ b/mappings/publisher/adoc/modules/publisher/pages/about.adoc
@@ -1,8 +1,5 @@
-[[ConfigurationViewService]]
-= `ConfigurationViewService`
+= Publisher
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-:page-partial:
 
-
-// TODO: v2: to document.
+WARNING: TODO: v2 - will move this into the framework, update these docs
 
diff --git a/mappings/publisher/adoc/modules/publisher/partials/module-nav.adoc b/mappings/publisher/adoc/modules/publisher/partials/module-nav.adoc
new file mode 100644
index 0000000..5fb179b
--- /dev/null
+++ b/mappings/publisher/adoc/modules/publisher/partials/module-nav.adoc
@@ -0,0 +1,3 @@
+* xref:publisher:about.adoc[Publisher]
+
+
diff --git a/security/adoc/modules/ROOT/partials/component-nav.adoc b/security/adoc/modules/ROOT/partials/component-nav.adoc
index f6e2c5b..213729a 100644
--- a/security/adoc/modules/ROOT/partials/component-nav.adoc
+++ b/security/adoc/modules/ROOT/partials/component-nav.adoc
@@ -10,3 +10,4 @@ include::security:ROOT:partial$module-nav-end.adoc[]
 * Extensions
 include::security:shiro-realm-ldap:partial$module-nav.adoc[]
 include::security:secman:partial$module-nav.adoc[]
+include::security:session-log:partial$module-nav.adoc[]