Skip to content

Commit

Permalink
ISIS-188: updating class names in web.xml etc...
Browse files Browse the repository at this point in the history
... with respect to package renames
  • Loading branch information
danhaywood committed Dec 13, 2012
1 parent 978f79a commit fb97382
Show file tree
Hide file tree
Showing 23 changed files with 60 additions and 87 deletions.
2 changes: 1 addition & 1 deletion component/objectstore/sql/sql-tests-common/pom.xml
Expand Up @@ -91,7 +91,7 @@
</dependency>
<!-- Required to support the XML cross-test -->
<dependency>
<groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
<groupId>org.apache.isis.core.objectstore</groupId>
<artifactId>xml</artifactId>
<version>${xml-objectstore.version}</version>
</dependency>
Expand Down
Expand Up @@ -632,7 +632,7 @@
..</para>

<para>Default automapper is
<code>org.apache.isis.runtimes.dflt.objectstores.sql.jdbc.installer.JdbcFieldMappingFactoryInstaller</code></para>
<code>org.apache.isis.objectstore.sql.jdbc.installer.JdbcFieldMappingFactoryInstaller</code></para>

<para></para>
</sect1>
Expand All @@ -645,7 +645,7 @@
either in configuration or at runtime.</para>

<para>The class
<code>org.apache.isis.runtimes.dflt.objectstores.sql.Defaults</code>
<code>org.apache.isis.objectstore.sql.Defaults</code>
contains the following:</para>

<para>Programmatic, at runtime:</para>
Expand Down
2 changes: 1 addition & 1 deletion component/security/src/docbkx/guide/isis-security.xml
Expand Up @@ -586,7 +586,7 @@ isis.authorization.file.blacklist=security_file.disallow </programlisting>
settings</para>

<programlisting format="linespecific">isis.reflector.facets.include=\
org.apache.isis.runtimes.dflt.runtime.authorization.standard.AuthorizationFacetFactoryForDfltRuntime
org.apache.isis.core.runtime.authorization.standard.AuthorizationFacetFactory
</programlisting>

<para></para>
Expand Down
4 changes: 2 additions & 2 deletions component/viewer/html/tck/src/main/webapp/WEB-INF/web.xml
Expand Up @@ -24,7 +24,7 @@
<display-name>Apache Isis HTML Viewer</display-name>

<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<context-param>
Expand All @@ -34,7 +34,7 @@

<filter>
<filter-name>IsisSessionFilter</filter-name>
<filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
<filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
<init-param>
<param-name>logonPage</param-name>
<param-value>/logon.app</param-value>
Expand Down
Expand Up @@ -507,18 +507,18 @@
that are used to create a session for each subsequent request. This
is done using a context listener (defined in the <emphasis>default
runtime</emphasis>,
<package>[oai.runtimes.dflt:webapp]</package>):</para>
<package>[oai.core:isis-core-runtime]</package>):</para>

<programlisting>&lt;listener&gt;
&lt;listener-class&gt;org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper&lt;/listener-class&gt;
&lt;listener-class&gt;org.apache.isis.core.webapp.IsisWebAppBootstrapper&lt;/listener-class&gt;
&lt;/listener&gt;</programlisting>

<para>The session is created for each request using the
<classname>IsisSessionFilter</classname>:</para>

<programlisting>&lt;filter&gt;
&lt;filter-name&gt;IsisSessionFilter&lt;/filter-name&gt;
&lt;filter-class&gt;org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter&lt;/filter-class&gt;
&lt;filter-class&gt;org.apache.isis.core.webapp.IsisSessionFilter&lt;/filter-class&gt;
&lt;init-param&gt;
&lt;param-name&gt;authenticationSessionLookupStrategy&lt;/param-name&gt;
&lt;param-value&gt;org.apache.isis.viewer.restfulobjects.viewer.authentication.AuthenticationSessionLookupStrategyTrusted&lt;/param-value&gt;
Expand Down Expand Up @@ -1017,7 +1017,7 @@ mvn jetty:run</programlisting>

<programlisting>&lt;filter&gt;
&lt;filter-name&gt;IsisSessionFilter&lt;/filter-name&gt;
&lt;filter-class&gt;org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter&lt;/filter-class&gt;
&lt;filter-class&gt;org.apache.isis.core.webapp.IsisSessionFilter&lt;/filter-class&gt;
&lt;init-param&gt;
&lt;param-name&gt;authenticationSessionLookupStrategy&lt;/param-name&gt;
&lt;param-value&gt;org.apache.isis.viewer.restful.viewer.authentication.AuthenticationSessionLookupStrategyTrusted&lt;/param-value&gt;
Expand Down
Expand Up @@ -80,7 +80,7 @@


<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<context-param>
Expand All @@ -90,7 +90,7 @@

<filter>
<filter-name>IsisSessionFilter</filter-name>
<filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
<filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
<init-param>
<!-- trusted client, so no authentication required -->
<param-name>authenticationSessionStrategy</param-name>
Expand Down
Expand Up @@ -28,7 +28,7 @@
</welcome-file-list>

<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<context-param>
Expand Down
Expand Up @@ -266,7 +266,7 @@
found on the classpath from the
<filename>installer-registry.properties</filename> file.
(Physically this is packaged within the
[oai.runtimes.dflt:runtime] module's
[oai.core:isis-core-runtime] module's
<acronym>JAR</acronym>).</para>

<para>This allow the runner class to be aware of all the
Expand Down Expand Up @@ -1229,20 +1229,20 @@ $ mvn clean package</screen>
runtime works. If you just want to use the</para>

<sect1>
<title>Components of the Default Runtime</title>
<title>Components of the Core Runtime</title>

<para>As will be clear if you've explored the codebase, the
<emphasis>default runtime</emphasis> implementation consists of a main
<emphasis>core runtime</emphasis> implementation consists of a main
<emphasis>runtime</emphasis>
module<package>[oai.runtimes.dflt:runtime]</package> along with a
fairly large number of submodules.</para>
module<package>[oai.core:runtime]</package> along with a
fairly large number of components.</para>

<para>The main <emphasis>runtime</emphasis> module provides the
following functionality:</para>

<itemizedlist>
<listitem>
<para>classes to bootstrap the default runtime</para>
<para>classes to bootstrap the core runtime</para>
</listitem>

<listitem>
Expand Down Expand Up @@ -1383,7 +1383,7 @@ $ mvn clean package</screen>

<itemizedlist>
<listitem>
<para>a module <package>[oai.runtimes.dflt:webapp]</package> with
<para>a module <package>[oai.core:isis-core-runtime]</package> with
<classname>ServletContextListener</classname> and
<classname>javax.servlet.Filter</classname> implementations to
allow <emphasis>Isis</emphasis> to be bootstrapped from a
Expand All @@ -1392,7 +1392,7 @@ $ mvn clean package</screen>

<listitem>
<para>provides a convenience module
<package>[oai.runtimes.dflt:webserver]</package> that provides a
<package>[oai.core:isis-core-webserver]</package> that provides a
command-line utility to allow any Maven webapp-structured project
to be hosted within Jetty.</para>
</listitem>
Expand Down Expand Up @@ -2048,7 +2048,7 @@ isis.services = employee.EmployeeRepositoryDefault, claim.ClaimRepositoryDefault
runtime module.</para>
</abstract>

<para>The runtime module <package>[oai.runtimes.dflt:runtime]</package>
<para>The runtime module <package>[oai.core:isis-core-runtime]</package>
is the "engine-room" of the default runtime, taking responsibility to
manage domain object (pojo) instances at runtime:</para>

Expand Down
4 changes: 2 additions & 2 deletions core/src/docbkx/guide/isis-core.xml
Expand Up @@ -361,8 +361,8 @@
the above (lifecycle, persistence, remoting and
profiles).</para>

<para>A key part of the design of the default runtime is the
<package>oai.runtimes.dflt.runtime.context.IsisContext</package>
<para>A key part of the design of the core runtime is the
<package>oai.core.runtime.system.context.IsisContext</package>
interface, which is used to obtain the current session<footnote>
<para>This interface is somewhat akin to <ulink
url="http://docs.jboss.org/hibernate/core/3.3/reference/en/html/tutorial.html">HibernateUtil</ulink>
Expand Down
Expand Up @@ -24,7 +24,7 @@
<display-name>Apache Isis HTML Viewer</display-name>

<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<context-param>
Expand Down Expand Up @@ -59,7 +59,7 @@

<filter>
<filter-name>IsisSessionFilter</filter-name>
<filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
<filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
<init-param>
<!-- this is the 'legacy' way, preserved only for backwards compatibility -->
<param-name>logonPage</param-name>
Expand Down
Expand Up @@ -24,7 +24,7 @@
<display-name>JSON Claims</display-name>

<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<listener>
Expand Down Expand Up @@ -72,7 +72,7 @@

<filter>
<filter-name>IsisSessionFilter</filter-name>
<filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
<filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
<init-param>
<!-- look for basic auth headers -->
<param-name>authenticationSessionStrategy</param-name>
Expand Down
Expand Up @@ -28,7 +28,7 @@
</welcome-file-list>

<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<servlet>
Expand Down
10 changes: 0 additions & 10 deletions example/application/quickstart/viewer-html/pom.xml
Expand Up @@ -93,16 +93,6 @@

<!-- objectstore/domain service/repository implementations -->

<!--
- uncomment in order to use default object store
- (also edit isis.properties)
-
<dependency>
<groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
<artifactId>dflt</artifactId>
</dependency>
-->

<dependency>
<groupId>org.apache.isis.objectstore</groupId>
<artifactId>isis-objectstore-sql-impl</artifactId>
Expand Down
Expand Up @@ -49,7 +49,7 @@

<!-- bootstrap the Isis metamodel and runtime -->
<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<!-- which (optional) configuration file(s) to load -->
Expand Down Expand Up @@ -178,11 +178,11 @@
<!-- authenticate user, and set up an Isis Session -->
<filter>
<filter-name>IsisSessionFilterForHtml</filter-name>
<filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
<filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
<init-param>
<!-- lookup from cache, or if a logon filter was provided -->
<param-name>authenticationSessionStrategy</param-name>
<param-value>org.apache.isis.runtimes.dflt.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
<param-value>org.apache.isis.core.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
</init-param>
<init-param>
<!-- what to do if no session was found; we indicate access only to a restricted list of paths -->
Expand All @@ -209,7 +209,7 @@
<servlet-class>org.apache.isis.viewer.html.servlet.LogonServlet</servlet-class>
<init-param>
<param-name>authenticationSessionStrategy</param-name>
<param-value>org.apache.isis.runtimes.dflt.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
<param-value>org.apache.isis.core.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
</init-param>
<init-param>
<param-name>startPage</param-name>
Expand Down
Expand Up @@ -48,7 +48,7 @@

<!-- bootstrap the Isis metamodel and runtime -->
<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<!-- which (optional) configuration file(s) to load -->
Expand Down
Expand Up @@ -94,16 +94,6 @@

<!-- objectstore/domain service/repository implementations -->

<!--
- uncomment in order to use default object store
- (also edit isis.properties)
-
<dependency>
<groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
<artifactId>dflt</artifactId>
</dependency>
-->

<!--
- uncomment in order to use jdo object store
- (also edit isis.properties)
Expand Down
Expand Up @@ -48,7 +48,7 @@

<!-- bootstrap the Isis metamodel and runtime -->
<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<!-- which (optional) configuration file(s) to load -->
Expand Down Expand Up @@ -169,7 +169,7 @@
<!-- authenticate user, set up an Isis session -->
<filter>
<filter-name>IsisSessionFilterForRestfulObjects</filter-name>
<filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
<filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
<!-- authentication required for REST -->
<init-param>
<param-name>authenticationSessionStrategy</param-name>
Expand Down
Expand Up @@ -95,22 +95,6 @@

<!-- objectstore/domain service/repository implementations -->

<!--
- uncomment in order to use default object store
- (also edit isis.properties)
-
<dependency>
<groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
<artifactId>dflt</artifactId>
</dependency>
-->


<!--
- uncomment in order to use jdo object store
- (also edit isis.properties)
-
-->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>quickstart_wicket_restful_jdo-objstore-jdo</artifactId>
Expand Down
Expand Up @@ -52,7 +52,7 @@

<!-- bootstrap the Isis metamodel and runtime -->
<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<!-- which (optional) configuration file(s) to load -->
Expand Down Expand Up @@ -181,11 +181,11 @@
<!-- authenticate user, and set up an Isis Session -->
<filter>
<filter-name>IsisSessionFilterForHtml</filter-name>
<filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
<filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
<init-param>
<!-- lookup from cache, or if a logon filter was provided -->
<param-name>authenticationSessionStrategy</param-name>
<param-value>org.apache.isis.runtimes.dflt.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
<param-value>org.apache.isis.core.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
</init-param>
<init-param>
<!-- what to do if no session was found; we indicate access only to a restricted list of paths -->
Expand All @@ -212,7 +212,7 @@
<servlet-class>org.apache.isis.viewer.html.servlet.LogonServlet</servlet-class>
<init-param>
<param-name>authenticationSessionStrategy</param-name>
<param-value>org.apache.isis.runtimes.dflt.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
<param-value>org.apache.isis.core.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
</init-param>
<init-param>
<param-name>startPage</param-name>
Expand Down
Expand Up @@ -51,7 +51,7 @@

<!-- bootstrap the Isis metamodel and runtime -->
<listener>
<listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
<listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
</listener>

<!-- which (optional) configuration file(s) to load -->
Expand Down Expand Up @@ -172,7 +172,7 @@
<!-- authenticate user, set up an Isis session -->
<filter>
<filter-name>IsisSessionFilterForRestfulObjects</filter-name>
<filter-class>org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter</filter-class>
<filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
<!-- authentication required for REST -->
<init-param>
<param-name>authenticationSessionStrategy</param-name>
Expand Down

0 comments on commit fb97382

Please sign in to comment.