You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by bu...@apache.org on 2015/05/08 02:20:13 UTC
svn commit: r950505 [2/5] - in /websites/staging/deltaspike/trunk/content:
./ documentation/
Modified: websites/staging/deltaspike/trunk/content/documentation/container-control.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/container-control.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/container-control.html Fri May 8 00:20:12 2015
@@ -1,44 +1,66 @@
<!DOCTYPE html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="description" content="deltaspike-generate-pages">
-<meta name="author" content="chm">
-<!-- No caching headers -->
-<meta http-equiv="cache-control" content="no-cache" />
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="expires" content="-1" />
-
-<title>Container Control Module</title>
-
-<!--
- 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 agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<!-- Styles -->
-
-<link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
-<link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
-<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" >
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="deltaspike-generate-pages">
+ <meta name="author" content="chm">
+ <!-- No caching headers -->
+ <meta http-equiv="cache-control" content="no-cache"/>
+ <meta http-equiv="pragma" content="no-cache"/>
+ <meta http-equiv="expires" content="-1"/>
+
+ <title>Container Control Module</title>
+
+ <!--
+ 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 agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+ <!-- Styles -->
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet">
+
+
+
+
+ <!-- Tocify - nice dynamic autoscrolling TOC -->
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/stylesheets/jquery.tocify.min.css" rel="stylesheet">
+ <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/javascripts/jquery.tocify.min.js"></script>
+
+
+ <script type="text/javascript">
+ $(function () {
+ $("#toc").tocify({
+ scrollTo: 50,
+ extendPage: true,
+ context: "#doc-content",
+ selectors: "h2,h3,h4,h5"
+ });
+ $(".fallback-toc").hide();
+ });
+ </script>
+
-<style type="text/css">
-/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+ <style type="text/css">
+ /* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
/*pre.CodeRay {background-color:#f7f7f8;}*/
.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
@@ -128,102 +150,129 @@ table.CodeRay td.code>pre{padding:0}
.CodeRay .change .change{color:#66f}
.CodeRay .head .head{color:#f4f}
-body {
- padding-top: 60px;
- padding-bottom: 40px;
-}
-</style>
-
-<script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-36103647-1']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
+ body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+ }
+
+ .toc-like {
+ border-radius: 6px;
+ border: 1px solid #ccc;
+ }
+
+ .toc-like li {
+ line-height: 30px;
+ text-indent: 10px;
+ }
+
+ .toc-like li.custom-toc-header {
+ font-weight: bold;
+ background: #666;
+ color: white;
+ cursor: initial !important;
+ padding: 5px;
+ }
+
+ .toc-like li.custom-toc-header a {
+ color: white;
+ font-style: normal;
+ text-shadow: none;
+ padding: 0;
+ }
- </script>
+ .toc-like li.custom-toc-header:hover a {
+ background: #666;
+ }
+
+ .page-title {
+ text-align: left;
+ }
+
+ #doc-content h2,
+ #doc-content h3,
+ #doc-content h4,
+ #doc-content h5,
+ #doc-content h6 {
+ padding-top: 0;
+ margin-top: 25px;
+ margin-bottom: 10px;
+ line-height: 1.4em;
+ }
+
+ #doc-content h2 {
+ border-bottom: 1px solid lightgrey;
+ }
+
+
+ </style>
+
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function () {
+ var ga = document.createElement('script');
+ ga.type = 'text/javascript';
+ ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
</head>
<body>
- <div class="navbar navbar-fixed-top">
+<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse"
- data-target=".nav-collapse"> <span class="icon-bar"></span> <span
- class="icon-bar"></span> <span class="icon-bar"></span>
- </a>
- <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
- <div class="nav-collapse">
-
-
- <ul class="nav">
- <li><a href="../index.html">Home</a></li>
- <li class="active"><a href="../documentation">Documentation</a></li>
- <li ><a href="../javadoc.html">Javadoc</a></li>
- <li ><a href="../source.html">Source</a></li>
- <li ><a href="../download.html">Download</a></li>
- <li ><a href="../community.html">Community</a></li>
- <!-- <li><a href="./support.html">Support</a></li> -->
- <li ><a href="../news.html">News</a></li>
- <li ><a href="../migration-guide.html">Migration</a></li>
- </ul>
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span class="icon-bar"></span> <span
+ class="icon-bar"></span> <span class="icon-bar"></span>
+ </a>
+ <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
+
+ <div class="nav-collapse">
+
+
+ <ul class="nav">
+ <li><a href="../index.html">Home</a></li>
+ <li class="active"><a href="../documentation">Documentation</a></li>
+ <li ><a href="../javadoc.html">Javadoc</a></li>
+ <li ><a href="../source.html">Source</a></li>
+ <li ><a href="../download.html">Download</a></li>
+ <li ><a href="../community.html">Community</a></li>
+ <!-- <li><a href="./support.html">Support</a></li> -->
+ <li ><a href="../news.html">News</a></li>
+ <li ><a href="../migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form" action="https://www.google.com/search"
+ method="get" class="navbar-search pull-right">
+ <input value="deltaspike.apache.org" name="sitesearch"
+ type="hidden"> <input class="search-query" name="q"
+ id="query" type="text">
+ </form>
</div>
- <!--/.nav-collapse -->
- <form id="search-form" action="https://www.google.com/search"
- method="get" class="navbar-search pull-right">
- <input value="deltaspike.apache.org" name="sitesearch"
- type="hidden"> <input class="search-query" name="q"
- id="query" type="text">
- </form>
- </div>
</div>
- </div>
+</div>
- <div class="container">
- <div class="row">
- <div class="span12">
- <div class="page-title">
- <h1>Container Control Module</h1>
- </div>
+<div class="container">
+ <div class="row-fluid">
- <div id="toc" class="toc">
- <ul class="sectlevel1">
-<li><a href="#_overview">Overview</a></li>
-<li><a href="#_configure_your_projects">Configure Your Projects</a>
-<ul class="sectlevel2">
-<li><a href="#_enable_cdi_for_your_java_environment">Enable CDI For Your Java Environment</a></li>
-<li><a href="#_declare_container_control_module_dependencies">Declare Container Control Module Dependencies</a></li>
-</ul>
-</li>
-<li><a href="#_use_the_module_features">Use the Module Features</a>
-<ul class="sectlevel2">
-<li><a href="#_start_the_cdi_container_from_your_project">Start the CDI Container from Your Project</a></li>
-<li><a href="#_cdicontainer">CdiContainer</a></li>
-<li><a href="#_contextcontrol_usage">ContextControl Usage</a></li>
-<li><a href="#_procedure_for_builing_uber_jar">Procedure for builing Uber jar</a>
-<ul class="sectlevel3">
-<li><a href="#_restart_the_requestcontext_in_unit_tests">Restart the RequestContext in Unit Tests</a></li>
-<li><a href="#_attach_a_requestcontext_to_a_new_thread_in_ee">Attach a RequestContext to a New Thread in EE</a></li>
-</ul>
-</li>
-<li><a href="#_embedded_servlet_support">Embedded Servlet Support</a>
-<ul class="sectlevel3">
-<li><a href="#_jetty">Jetty</a></li>
-<li><a href="#_undertow">Undertow</a></li>
-<li><a href="#_tomcat">Tomcat</a></li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
- <hr>
- <div class="sect1">
+
+
+ <div class="span8">
+ <div class="page-title">
+ <h1>Container Control Module</h1>
+ </div>
+
+ <div id="doc-content">
+ <div class="sect1">
<h2 id="_overview">Overview</h2>
<div class="sectionbody">
<div class="paragraph">
@@ -538,17 +587,67 @@ tomcat.start();</code></pre>
</div>
</div>
</div>
+ </div>
</div>
- <hr>
+
+ <div class="span4">
+ <div id="toc">
+ <div class="moduledeps">
+ <ul class="toc-like nav nav-list">
+
+
+
+ </ul>
+ </div>
+ </div>
+
+ <div class="fallback-toc">
+ <ul class="sectlevel1">
+<li><a href="#_overview">Overview</a></li>
+<li><a href="#_configure_your_projects">Configure Your Projects</a>
+<ul class="sectlevel2">
+<li><a href="#_enable_cdi_for_your_java_environment">Enable CDI For Your Java Environment</a></li>
+<li><a href="#_declare_container_control_module_dependencies">Declare Container Control Module Dependencies</a></li>
+</ul>
+</li>
+<li><a href="#_use_the_module_features">Use the Module Features</a>
+<ul class="sectlevel2">
+<li><a href="#_start_the_cdi_container_from_your_project">Start the CDI Container from Your Project</a></li>
+<li><a href="#_cdicontainer">CdiContainer</a></li>
+<li><a href="#_contextcontrol_usage">ContextControl Usage</a></li>
+<li><a href="#_procedure_for_builing_uber_jar">Procedure for builing Uber jar</a>
+<ul class="sectlevel3">
+<li><a href="#_restart_the_requestcontext_in_unit_tests">Restart the RequestContext in Unit Tests</a></li>
+<li><a href="#_attach_a_requestcontext_to_a_new_thread_in_ee">Attach a RequestContext to a New Thread in EE</a></li>
+</ul>
+</li>
+<li><a href="#_embedded_servlet_support">Embedded Servlet Support</a>
+<ul class="sectlevel3">
+<li><a href="#_jetty">Jetty</a></li>
+<li><a href="#_undertow">Undertow</a></li>
+<li><a href="#_tomcat">Tomcat</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+ </div>
+
+ </div>
+
+ </div>
+ <div class="row">
+ <hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
- Licensed under the Apache License, Version 2.0.</p>
- <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+ <p>Copyright © 2011-2014 The Apache Software Foundation,
+ Licensed under the Apache License, Version 2.0.</p>
+
+ <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</footer>
- </div>
</div>
- </div>
+</div>
+
</body>
</html>
\ No newline at end of file
Modified: websites/staging/deltaspike/trunk/content/documentation/core.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/core.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/core.html Fri May 8 00:20:12 2015
@@ -1,44 +1,66 @@
<!DOCTYPE html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="description" content="deltaspike-generate-pages">
-<meta name="author" content="chm">
-<!-- No caching headers -->
-<meta http-equiv="cache-control" content="no-cache" />
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="expires" content="-1" />
-
-<title>Core Module</title>
-
-<!--
- 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 agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<!-- Styles -->
-
-<link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
-<link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
-<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" >
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="deltaspike-generate-pages">
+ <meta name="author" content="chm">
+ <!-- No caching headers -->
+ <meta http-equiv="cache-control" content="no-cache"/>
+ <meta http-equiv="pragma" content="no-cache"/>
+ <meta http-equiv="expires" content="-1"/>
+
+ <title>Core Module</title>
+
+ <!--
+ 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 agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+ <!-- Styles -->
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet">
+
+
+
+
+ <!-- Tocify - nice dynamic autoscrolling TOC -->
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/stylesheets/jquery.tocify.min.css" rel="stylesheet">
+ <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/javascripts/jquery.tocify.min.js"></script>
+
+
+ <script type="text/javascript">
+ $(function () {
+ $("#toc").tocify({
+ scrollTo: 50,
+ extendPage: true,
+ context: "#doc-content",
+ selectors: "h2,h3,h4,h5"
+ });
+ $(".fallback-toc").hide();
+ });
+ </script>
+
-<style type="text/css">
-/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+ <style type="text/css">
+ /* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
/*pre.CodeRay {background-color:#f7f7f8;}*/
.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
@@ -128,156 +150,129 @@ table.CodeRay td.code>pre{padding:0}
.CodeRay .change .change{color:#66f}
.CodeRay .head .head{color:#f4f}
-body {
- padding-top: 60px;
- padding-bottom: 40px;
-}
-</style>
+ body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+ }
-<script type="text/javascript">
+ .toc-like {
+ border-radius: 6px;
+ border: 1px solid #ccc;
+ }
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-36103647-1']);
- _gaq.push(['_trackPageview']);
+ .toc-like li {
+ line-height: 30px;
+ text-indent: 10px;
+ }
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
+ .toc-like li.custom-toc-header {
+ font-weight: bold;
+ background: #666;
+ color: white;
+ cursor: initial !important;
+ padding: 5px;
+ }
+
+ .toc-like li.custom-toc-header a {
+ color: white;
+ font-style: normal;
+ text-shadow: none;
+ padding: 0;
+ }
+
+ .toc-like li.custom-toc-header:hover a {
+ background: #666;
+ }
+
+ .page-title {
+ text-align: left;
+ }
+
+ #doc-content h2,
+ #doc-content h3,
+ #doc-content h4,
+ #doc-content h5,
+ #doc-content h6 {
+ padding-top: 0;
+ margin-top: 25px;
+ margin-bottom: 10px;
+ line-height: 1.4em;
+ }
- </script>
+ #doc-content h2 {
+ border-bottom: 1px solid lightgrey;
+ }
+
+
+ </style>
+
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function () {
+ var ga = document.createElement('script');
+ ga.type = 'text/javascript';
+ ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
</head>
<body>
- <div class="navbar navbar-fixed-top">
+<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse"
- data-target=".nav-collapse"> <span class="icon-bar"></span> <span
- class="icon-bar"></span> <span class="icon-bar"></span>
- </a>
- <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
- <div class="nav-collapse">
-
-
- <ul class="nav">
- <li><a href="../index.html">Home</a></li>
- <li class="active"><a href="../documentation">Documentation</a></li>
- <li ><a href="../javadoc.html">Javadoc</a></li>
- <li ><a href="../source.html">Source</a></li>
- <li ><a href="../download.html">Download</a></li>
- <li ><a href="../community.html">Community</a></li>
- <!-- <li><a href="./support.html">Support</a></li> -->
- <li ><a href="../news.html">News</a></li>
- <li ><a href="../migration-guide.html">Migration</a></li>
- </ul>
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span class="icon-bar"></span> <span
+ class="icon-bar"></span> <span class="icon-bar"></span>
+ </a>
+ <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
+
+ <div class="nav-collapse">
+
+
+ <ul class="nav">
+ <li><a href="../index.html">Home</a></li>
+ <li class="active"><a href="../documentation">Documentation</a></li>
+ <li ><a href="../javadoc.html">Javadoc</a></li>
+ <li ><a href="../source.html">Source</a></li>
+ <li ><a href="../download.html">Download</a></li>
+ <li ><a href="../community.html">Community</a></li>
+ <!-- <li><a href="./support.html">Support</a></li> -->
+ <li ><a href="../news.html">News</a></li>
+ <li ><a href="../migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form" action="https://www.google.com/search"
+ method="get" class="navbar-search pull-right">
+ <input value="deltaspike.apache.org" name="sitesearch"
+ type="hidden"> <input class="search-query" name="q"
+ id="query" type="text">
+ </form>
</div>
- <!--/.nav-collapse -->
- <form id="search-form" action="https://www.google.com/search"
- method="get" class="navbar-search pull-right">
- <input value="deltaspike.apache.org" name="sitesearch"
- type="hidden"> <input class="search-query" name="q"
- id="query" type="text">
- </form>
- </div>
</div>
- </div>
+</div>
- <div class="container">
- <div class="row">
- <div class="span12">
- <div class="page-title">
- <h1>Core Module</h1>
- </div>
+<div class="container">
+ <div class="row-fluid">
- <div id="toc" class="toc">
- <ul class="sectlevel1">
-<li><a href="#_deltaspike_configuration">DeltaSpike Configuration</a>
-<ul class="sectlevel2">
-<li><a href="#_internal_configuration">Internal configuration</a></li>
-</ul>
-</li>
-<li><a href="#_beanprovider">BeanProvider</a>
-<ul class="sectlevel2">
-<li><a href="#_dependentprovider">DependentProvider</a></li>
-</ul>
-</li>
-<li><a href="#_beanmanagerprovider">BeanManagerProvider</a></li>
-<li><a href="#_annotationinstanceprovider">AnnotationInstanceProvider</a></li>
-<li><a href="#_type_safe_projectstage">Type-safe ProjectStage</a></li>
-<li><a href="#__exclude">@Exclude</a>
-<ul class="sectlevel2">
-<li><a href="#_custom_expressioninterpreter">Custom ExpressionInterpreter</a></li>
-</ul>
-</li>
-<li><a href="#_type_safe_view_config">Type-safe View-Config</a></li>
-<li><a href="#_literals">Literals</a></li>
-<li><a href="#_messages_and_i18n">Messages and i18n</a>
-<ul class="sectlevel2">
-<li><a href="#_dynamic_message_builder">Dynamic Message Builder</a>
-<ul class="sectlevel3">
-<li><a href="#_creating_message_instances">Creating Message Instances</a></li>
-<li><a href="#_customizing_the_message_context">Customizing the Message Context</a>
-<ul class="sectlevel4">
-<li><a href="#_messageresolver">MessageResolver</a></li>
-<li><a href="#_messageinterpolator">MessageInterpolator</a></li>
-<li><a href="#_localeresolver">LocaleResolver</a></li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-</li>
-<li><a href="#_injecting_resources">Injecting Resources</a>
-<ul class="sectlevel2">
-<li><a href="#_custom_resource_providers">Custom resource providers</a></li>
-</ul>
-</li>
-<li><a href="#_exception_control">Exception Control</a>
-<ul class="sectlevel2">
-<li><a href="#_usage">Usage</a></li>
-<li><a href="#_exception_handlers">Exception Handlers</a>
-<ul class="sectlevel3">
-<li><a href="#__exceptionhandler">@ExceptionHandler</a></li>
-<li><a href="#__handles_and_beforehandles">@Handles and @BeforeHandles</a></li>
-<li><a href="#_ordinal">Ordinal</a></li>
-</ul>
-</li>
-<li><a href="#_exception_chain_processing">Exception Chain Processing</a></li>
-<li><a href="#_apis_for_exception_information_and_flow_control">APIs for Exception Information and Flow Control</a>
-<ul class="sectlevel3">
-<li><a href="#_exceptionevent">ExceptionEvent</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li><a href="#_scopes">Scopes</a>
-<ul class="sectlevel2">
-<li><a href="#__windowscoped">@WindowScoped</a></li>
-<li><a href="#__viewaccessscoped">@ViewAccessScoped</a></li>
-<li><a href="#__groupedconversationscoped">@GroupedConversationScoped</a></li>
-<li><a href="#_creating_a_custom_cdi_scope">Creating a Custom CDI Scope</a></li>
-</ul>
-</li>
-<li><a href="#_deactivatable">Deactivatable</a></li>
-<li><a href="#_utilities">Utilities</a>
-<ul class="sectlevel2">
-<li><a href="#_annotationutils">AnnotationUtils</a></li>
-<li><a href="#_arraysutils">ArraysUtils</a></li>
-<li><a href="#_beanutils">BeanUtils</a></li>
-<li><a href="#_contextutils">ContextUtils</a></li>
-<li><a href="#_classdeactivationutils">ClassDeactivationUtils</a></li>
-<li><a href="#_exceptionutils">ExceptionUtils</a></li>
-<li><a href="#_propertyfileutils">PropertyFileUtils</a></li>
-<li><a href="#_proxyutils">ProxyUtils</a></li>
-<li><a href="#_stringutils">StringUtils</a></li>
-</ul>
-</li>
-</ul>
- <hr>
- <div id="preamble">
+
+
+ <div class="span8">
+ <div class="page-title">
+ <h1>Core Module</h1>
+ </div>
+
+ <div id="doc-content">
+ <div id="preamble">
<div class="sectionbody">
<div class="paragraph">
<p>The Core module provides fundamental and defining DeltaSpike API and utility classes. As such, this module must be included in every project that uses DeltaSpike.
@@ -1851,17 +1846,128 @@ objects, the last object in the array wi
</div>
</div>
</div>
+ </div>
</div>
- <hr>
+
+ <div class="span4">
+ <div id="toc">
+ <div class="moduledeps">
+ <ul class="toc-like nav nav-list">
+
+
+ <li class="custom-toc-header"><a href="core.html#_internal_configuration">Configuration</a></li>
+
+ <li><a href="https://github.com/apache/deltaspike/blob/master/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/base/CoreBaseConfig.java">CoreBaseConfig</a></li>
+
+
+
+ <li class="custom-toc-header">Table of Contents</li>
+
+ </ul>
+ </div>
+ </div>
+
+ <div class="fallback-toc">
+ <ul class="sectlevel1">
+<li><a href="#_deltaspike_configuration">DeltaSpike Configuration</a>
+<ul class="sectlevel2">
+<li><a href="#_internal_configuration">Internal configuration</a></li>
+</ul>
+</li>
+<li><a href="#_beanprovider">BeanProvider</a>
+<ul class="sectlevel2">
+<li><a href="#_dependentprovider">DependentProvider</a></li>
+</ul>
+</li>
+<li><a href="#_beanmanagerprovider">BeanManagerProvider</a></li>
+<li><a href="#_annotationinstanceprovider">AnnotationInstanceProvider</a></li>
+<li><a href="#_type_safe_projectstage">Type-safe ProjectStage</a></li>
+<li><a href="#__exclude">@Exclude</a>
+<ul class="sectlevel2">
+<li><a href="#_custom_expressioninterpreter">Custom ExpressionInterpreter</a></li>
+</ul>
+</li>
+<li><a href="#_type_safe_view_config">Type-safe View-Config</a></li>
+<li><a href="#_literals">Literals</a></li>
+<li><a href="#_messages_and_i18n">Messages and i18n</a>
+<ul class="sectlevel2">
+<li><a href="#_dynamic_message_builder">Dynamic Message Builder</a>
+<ul class="sectlevel3">
+<li><a href="#_creating_message_instances">Creating Message Instances</a></li>
+<li><a href="#_customizing_the_message_context">Customizing the Message Context</a>
+<ul class="sectlevel4">
+<li><a href="#_messageresolver">MessageResolver</a></li>
+<li><a href="#_messageinterpolator">MessageInterpolator</a></li>
+<li><a href="#_localeresolver">LocaleResolver</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="#_injecting_resources">Injecting Resources</a>
+<ul class="sectlevel2">
+<li><a href="#_custom_resource_providers">Custom resource providers</a></li>
+</ul>
+</li>
+<li><a href="#_exception_control">Exception Control</a>
+<ul class="sectlevel2">
+<li><a href="#_usage">Usage</a></li>
+<li><a href="#_exception_handlers">Exception Handlers</a>
+<ul class="sectlevel3">
+<li><a href="#__exceptionhandler">@ExceptionHandler</a></li>
+<li><a href="#__handles_and_beforehandles">@Handles and @BeforeHandles</a></li>
+<li><a href="#_ordinal">Ordinal</a></li>
+</ul>
+</li>
+<li><a href="#_exception_chain_processing">Exception Chain Processing</a></li>
+<li><a href="#_apis_for_exception_information_and_flow_control">APIs for Exception Information and Flow Control</a>
+<ul class="sectlevel3">
+<li><a href="#_exceptionevent">ExceptionEvent</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="#_scopes">Scopes</a>
+<ul class="sectlevel2">
+<li><a href="#__windowscoped">@WindowScoped</a></li>
+<li><a href="#__viewaccessscoped">@ViewAccessScoped</a></li>
+<li><a href="#__groupedconversationscoped">@GroupedConversationScoped</a></li>
+<li><a href="#_creating_a_custom_cdi_scope">Creating a Custom CDI Scope</a></li>
+</ul>
+</li>
+<li><a href="#_deactivatable">Deactivatable</a></li>
+<li><a href="#_utilities">Utilities</a>
+<ul class="sectlevel2">
+<li><a href="#_annotationutils">AnnotationUtils</a></li>
+<li><a href="#_arraysutils">ArraysUtils</a></li>
+<li><a href="#_beanutils">BeanUtils</a></li>
+<li><a href="#_contextutils">ContextUtils</a></li>
+<li><a href="#_classdeactivationutils">ClassDeactivationUtils</a></li>
+<li><a href="#_exceptionutils">ExceptionUtils</a></li>
+<li><a href="#_propertyfileutils">PropertyFileUtils</a></li>
+<li><a href="#_proxyutils">ProxyUtils</a></li>
+<li><a href="#_stringutils">StringUtils</a></li>
+</ul>
+</li>
+</ul>
+ </div>
+
+ </div>
+
+ </div>
+ <div class="row">
+ <hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
- Licensed under the Apache License, Version 2.0.</p>
- <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+ <p>Copyright © 2011-2014 The Apache Software Foundation,
+ Licensed under the Apache License, Version 2.0.</p>
+
+ <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</footer>
- </div>
</div>
- </div>
+</div>
+
</body>
</html>
\ No newline at end of file
Modified: websites/staging/deltaspike/trunk/content/documentation/data.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/data.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/data.html Fri May 8 00:20:12 2015
@@ -1,44 +1,66 @@
<!DOCTYPE html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="description" content="deltaspike-generate-pages">
-<meta name="author" content="chm">
-<!-- No caching headers -->
-<meta http-equiv="cache-control" content="no-cache" />
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="expires" content="-1" />
-
-<title>Data Module</title>
-
-<!--
- 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 agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<!-- Styles -->
-
-<link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
-<link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
-<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" >
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="deltaspike-generate-pages">
+ <meta name="author" content="chm">
+ <!-- No caching headers -->
+ <meta http-equiv="cache-control" content="no-cache"/>
+ <meta http-equiv="pragma" content="no-cache"/>
+ <meta http-equiv="expires" content="-1"/>
+
+ <title>Data Module</title>
+
+ <!--
+ 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 agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+ <!-- Styles -->
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet">
+
+
+
+
+ <!-- Tocify - nice dynamic autoscrolling TOC -->
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/stylesheets/jquery.tocify.min.css" rel="stylesheet">
+ <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/javascripts/jquery.tocify.min.js"></script>
+
+
+ <script type="text/javascript">
+ $(function () {
+ $("#toc").tocify({
+ scrollTo: 50,
+ extendPage: true,
+ context: "#doc-content",
+ selectors: "h2,h3,h4,h5"
+ });
+ $(".fallback-toc").hide();
+ });
+ </script>
+
-<style type="text/css">
-/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+ <style type="text/css">
+ /* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
/*pre.CodeRay {background-color:#f7f7f8;}*/
.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
@@ -128,152 +150,129 @@ table.CodeRay td.code>pre{padding:0}
.CodeRay .change .change{color:#66f}
.CodeRay .head .head{color:#f4f}
-body {
- padding-top: 60px;
- padding-bottom: 40px;
-}
-</style>
+ body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+ }
+
+ .toc-like {
+ border-radius: 6px;
+ border: 1px solid #ccc;
+ }
+
+ .toc-like li {
+ line-height: 30px;
+ text-indent: 10px;
+ }
+
+ .toc-like li.custom-toc-header {
+ font-weight: bold;
+ background: #666;
+ color: white;
+ cursor: initial !important;
+ padding: 5px;
+ }
+
+ .toc-like li.custom-toc-header a {
+ color: white;
+ font-style: normal;
+ text-shadow: none;
+ padding: 0;
+ }
+
+ .toc-like li.custom-toc-header:hover a {
+ background: #666;
+ }
+
+ .page-title {
+ text-align: left;
+ }
+
+ #doc-content h2,
+ #doc-content h3,
+ #doc-content h4,
+ #doc-content h5,
+ #doc-content h6 {
+ padding-top: 0;
+ margin-top: 25px;
+ margin-bottom: 10px;
+ line-height: 1.4em;
+ }
+
+ #doc-content h2 {
+ border-bottom: 1px solid lightgrey;
+ }
-<script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-36103647-1']);
- _gaq.push(['_trackPageview']);
+ </style>
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
+ <script type="text/javascript">
- </script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function () {
+ var ga = document.createElement('script');
+ ga.type = 'text/javascript';
+ ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
</head>
<body>
- <div class="navbar navbar-fixed-top">
+<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse"
- data-target=".nav-collapse"> <span class="icon-bar"></span> <span
- class="icon-bar"></span> <span class="icon-bar"></span>
- </a>
- <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
- <div class="nav-collapse">
-
-
- <ul class="nav">
- <li><a href="../index.html">Home</a></li>
- <li class="active"><a href="../documentation">Documentation</a></li>
- <li ><a href="../javadoc.html">Javadoc</a></li>
- <li ><a href="../source.html">Source</a></li>
- <li ><a href="../download.html">Download</a></li>
- <li ><a href="../community.html">Community</a></li>
- <!-- <li><a href="./support.html">Support</a></li> -->
- <li ><a href="../news.html">News</a></li>
- <li ><a href="../migration-guide.html">Migration</a></li>
- </ul>
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span class="icon-bar"></span> <span
+ class="icon-bar"></span> <span class="icon-bar"></span>
+ </a>
+ <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
+
+ <div class="nav-collapse">
+
+
+ <ul class="nav">
+ <li><a href="../index.html">Home</a></li>
+ <li class="active"><a href="../documentation">Documentation</a></li>
+ <li ><a href="../javadoc.html">Javadoc</a></li>
+ <li ><a href="../source.html">Source</a></li>
+ <li ><a href="../download.html">Download</a></li>
+ <li ><a href="../community.html">Community</a></li>
+ <!-- <li><a href="./support.html">Support</a></li> -->
+ <li ><a href="../news.html">News</a></li>
+ <li ><a href="../migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form" action="https://www.google.com/search"
+ method="get" class="navbar-search pull-right">
+ <input value="deltaspike.apache.org" name="sitesearch"
+ type="hidden"> <input class="search-query" name="q"
+ id="query" type="text">
+ </form>
</div>
- <!--/.nav-collapse -->
- <form id="search-form" action="https://www.google.com/search"
- method="get" class="navbar-search pull-right">
- <input value="deltaspike.apache.org" name="sitesearch"
- type="hidden"> <input class="search-query" name="q"
- id="query" type="text">
- </form>
- </div>
</div>
- </div>
+</div>
- <div class="container">
- <div class="row">
- <div class="span12">
- <div class="page-title">
- <h1>Data Module</h1>
- </div>
+<div class="container">
+ <div class="row-fluid">
- <div id="toc" class="toc">
- <ul class="sectlevel1">
-<li><a href="#_overview">Overview</a></li>
-<li><a href="#_configure_your_projects">Configure Your Projects</a>
-<ul class="sectlevel2">
-<li><a href="#_1_declare_data_module_dependencies">1. Declare Data Module Dependencies</a></li>
-<li><a href="#_2_complete_additional_java_environment_configuration">2. Complete Additional Java Environment Configuration</a></li>
-<li><a href="#_3_complete_additional_project_configuration">3. Complete Additional Project Configuration</a></li>
-</ul>
-</li>
-<li><a href="#_use_the_module_features">Use the Module Features</a>
-<ul class="sectlevel2">
-<li><a href="#_core_concepts">Core Concepts</a>
-<ul class="sectlevel3">
-<li><a href="#_repositories">Repositories</a>
-<ul class="sectlevel4">
-<li><a href="#_the_code_entityrepository_code_interface">The <code>EntityRepository</code> Interface</a></li>
-<li><a href="#_the_code_abstractentityrepository_code_class">The <code>AbstractEntityRepository</code> Class</a></li>
-</ul>
-</li>
-<li><a href="#_deactivating_repositories">Deactivating Repositories</a></li>
-<li><a href="#_using_multiple_code_entitymanager_code">Using Multiple <code>EntityManager</code></a></li>
-<li><a href="#_other_code_entitymanager_code_methods">Other <code>EntityManager</code> Methods</a></li>
-</ul>
-</li>
-<li><a href="#_query_method_expressions">Query Method Expressions</a>
-<ul class="sectlevel3">
-<li><a href="#_using_method_expressions">Using Method Expressions</a></li>
-<li><a href="#_query_ordering">Query Ordering</a></li>
-<li><a href="#_nested_properties">Nested Properties</a></li>
-<li><a href="#_query_options">Query Options</a></li>
-<li><a href="#_method_prefix">Method Prefix</a></li>
-</ul>
-</li>
-<li><a href="#_query_annotations">Query Annotations</a>
-<ul class="sectlevel3">
-<li><a href="#_using_query_annotations">Using Query Annotations</a></li>
-<li><a href="#_annotation_options">Annotation Options</a></li>
-<li><a href="#_query_options_2">Query Options</a></li>
-<li><a href="#_pagination">Pagination</a></li>
-<li><a href="#_bulk_operations">Bulk Operations</a></li>
-<li><a href="#_optional_query_results">Optional Query Results</a></li>
-<li><a href="#_zero_or_one_result">Zero or One Result</a></li>
-<li><a href="#_any_result">Any Result</a></li>
-</ul>
-</li>
-<li><a href="#_transactions">Transactions</a></li>
-<li><a href="#_extensions">Extensions</a>
-<ul class="sectlevel3">
-<li><a href="#_query_delegates">Query Delegates</a></li>
-<li><a href="#_implementing_the_query_delegate">Implementing the Query Delegate</a></li>
-</ul>
-</li>
-<li><a href="#_mapping">Mapping</a>
-<ul class="sectlevel3">
-<li><a href="#_simple_mappings">Simple Mappings</a></li>
-</ul>
-</li>
-<li><a href="#_jpa_criteria_api_support">JPA Criteria API Support</a>
-<ul class="sectlevel3">
-<li><a href="#_api_usage">API Usage</a></li>
-<li><a href="#_joins">Joins</a></li>
-<li><a href="#_boolean_operators">Boolean Operators</a></li>
-<li><a href="#_selections">Selections</a></li>
-</ul>
-</li>
-<li><a href="#_auditing">Auditing</a>
-<ul class="sectlevel3">
-<li><a href="#_activating_auditing">Activating Auditing</a></li>
-<li><a href="#_using_auditing_annotations">Using Auditing Annotations</a>
-<ul class="sectlevel4">
-<li><a href="#_updating_timestamps">Updating Timestamps</a></li>
-<li><a href="#_who_s_changing_my_entities">Who’s Changing My Entities?</a></li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
- <hr>
- <div class="sect1">
+
+
+ <div class="span8">
+ <div class="page-title">
+ <h1>Data Module</h1>
+ </div>
+
+ <div id="doc-content">
+ <div class="sect1">
<h2 id="_overview">Overview</h2>
<div class="sectionbody">
<div class="paragraph">
@@ -2051,17 +2050,128 @@ provider when persisting / updating the
</div>
</div>
</div>
+ </div>
</div>
- <hr>
+
+ <div class="span4">
+ <div id="toc">
+ <div class="moduledeps">
+ <ul class="toc-like nav nav-list">
+
+ <li class="custom-toc-header">Depends on</li>
+
+ <li><a href="core.html">Core</a></li>
+
+ <li><a href="jpa.html">Jpa</a></li>
+
+ <li><a href="partial-bean.html">Partial bean</a></li>
+
+
+
+
+ <li class="custom-toc-header">Table of Contents</li>
+
+ </ul>
+ </div>
+ </div>
+
+ <div class="fallback-toc">
+ <ul class="sectlevel1">
+<li><a href="#_overview">Overview</a></li>
+<li><a href="#_configure_your_projects">Configure Your Projects</a>
+<ul class="sectlevel2">
+<li><a href="#_1_declare_data_module_dependencies">1. Declare Data Module Dependencies</a></li>
+<li><a href="#_2_complete_additional_java_environment_configuration">2. Complete Additional Java Environment Configuration</a></li>
+<li><a href="#_3_complete_additional_project_configuration">3. Complete Additional Project Configuration</a></li>
+</ul>
+</li>
+<li><a href="#_use_the_module_features">Use the Module Features</a>
+<ul class="sectlevel2">
+<li><a href="#_core_concepts">Core Concepts</a>
+<ul class="sectlevel3">
+<li><a href="#_repositories">Repositories</a>
+<ul class="sectlevel4">
+<li><a href="#_the_code_entityrepository_code_interface">The <code>EntityRepository</code> Interface</a></li>
+<li><a href="#_the_code_abstractentityrepository_code_class">The <code>AbstractEntityRepository</code> Class</a></li>
+</ul>
+</li>
+<li><a href="#_deactivating_repositories">Deactivating Repositories</a></li>
+<li><a href="#_using_multiple_code_entitymanager_code">Using Multiple <code>EntityManager</code></a></li>
+<li><a href="#_other_code_entitymanager_code_methods">Other <code>EntityManager</code> Methods</a></li>
+</ul>
+</li>
+<li><a href="#_query_method_expressions">Query Method Expressions</a>
+<ul class="sectlevel3">
+<li><a href="#_using_method_expressions">Using Method Expressions</a></li>
+<li><a href="#_query_ordering">Query Ordering</a></li>
+<li><a href="#_nested_properties">Nested Properties</a></li>
+<li><a href="#_query_options">Query Options</a></li>
+<li><a href="#_method_prefix">Method Prefix</a></li>
+</ul>
+</li>
+<li><a href="#_query_annotations">Query Annotations</a>
+<ul class="sectlevel3">
+<li><a href="#_using_query_annotations">Using Query Annotations</a></li>
+<li><a href="#_annotation_options">Annotation Options</a></li>
+<li><a href="#_query_options_2">Query Options</a></li>
+<li><a href="#_pagination">Pagination</a></li>
+<li><a href="#_bulk_operations">Bulk Operations</a></li>
+<li><a href="#_optional_query_results">Optional Query Results</a></li>
+<li><a href="#_zero_or_one_result">Zero or One Result</a></li>
+<li><a href="#_any_result">Any Result</a></li>
+</ul>
+</li>
+<li><a href="#_transactions">Transactions</a></li>
+<li><a href="#_extensions">Extensions</a>
+<ul class="sectlevel3">
+<li><a href="#_query_delegates">Query Delegates</a></li>
+<li><a href="#_implementing_the_query_delegate">Implementing the Query Delegate</a></li>
+</ul>
+</li>
+<li><a href="#_mapping">Mapping</a>
+<ul class="sectlevel3">
+<li><a href="#_simple_mappings">Simple Mappings</a></li>
+</ul>
+</li>
+<li><a href="#_jpa_criteria_api_support">JPA Criteria API Support</a>
+<ul class="sectlevel3">
+<li><a href="#_api_usage">API Usage</a></li>
+<li><a href="#_joins">Joins</a></li>
+<li><a href="#_boolean_operators">Boolean Operators</a></li>
+<li><a href="#_selections">Selections</a></li>
+</ul>
+</li>
+<li><a href="#_auditing">Auditing</a>
+<ul class="sectlevel3">
+<li><a href="#_activating_auditing">Activating Auditing</a></li>
+<li><a href="#_using_auditing_annotations">Using Auditing Annotations</a>
+<ul class="sectlevel4">
+<li><a href="#_updating_timestamps">Updating Timestamps</a></li>
+<li><a href="#_who_s_changing_my_entities">Who’s Changing My Entities?</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+ </div>
+
+ </div>
+
+ </div>
+ <div class="row">
+ <hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
- Licensed under the Apache License, Version 2.0.</p>
- <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+ <p>Copyright © 2011-2014 The Apache Software Foundation,
+ Licensed under the Apache License, Version 2.0.</p>
+
+ <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</footer>
- </div>
</div>
- </div>
+</div>
+
</body>
</html>
\ No newline at end of file
Modified: websites/staging/deltaspike/trunk/content/documentation/index.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/index.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/index.html Fri May 8 00:20:12 2015
@@ -1,44 +1,47 @@
<!DOCTYPE html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="description" content="deltaspike-generate-pages">
-<meta name="author" content="chm">
-<!-- No caching headers -->
-<meta http-equiv="cache-control" content="no-cache" />
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="expires" content="-1" />
-
-<title>Documentation</title>
-
-<!--
- 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 agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<!-- Styles -->
-
-<link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
-<link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
-<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" >
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="deltaspike-generate-pages">
+ <meta name="author" content="chm">
+ <!-- No caching headers -->
+ <meta http-equiv="cache-control" content="no-cache"/>
+ <meta http-equiv="pragma" content="no-cache"/>
+ <meta http-equiv="expires" content="-1"/>
+
+ <title>Documentation</title>
+
+ <!--
+ 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 agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+ <!-- Styles -->
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet">
-<style type="text/css">
-/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+
+
+
+
+ <style type="text/css">
+ /* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
/*pre.CodeRay {background-color:#f7f7f8;}*/
.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
@@ -128,188 +131,197 @@ table.CodeRay td.code>pre{padding:0}
.CodeRay .change .change{color:#66f}
.CodeRay .head .head{color:#f4f}
-body {
- padding-top: 60px;
- padding-bottom: 40px;
-}
-</style>
-
-<script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-36103647-1']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
+ body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+ }
+
+ .toc-like {
+ border-radius: 6px;
+ border: 1px solid #ccc;
+ }
+
+ .toc-like li {
+ line-height: 30px;
+ text-indent: 10px;
+ }
+
+ .toc-like li.custom-toc-header {
+ font-weight: bold;
+ background: #666;
+ color: white;
+ cursor: initial !important;
+ padding: 5px;
+ }
+
+ .toc-like li.custom-toc-header a {
+ color: white;
+ font-style: normal;
+ text-shadow: none;
+ padding: 0;
+ }
+
+ .toc-like li.custom-toc-header:hover a {
+ background: #666;
+ }
+
+ .page-title {
+ text-align: left;
+ }
+
+ #doc-content h2,
+ #doc-content h3,
+ #doc-content h4,
+ #doc-content h5,
+ #doc-content h6 {
+ padding-top: 0;
+ margin-top: 25px;
+ margin-bottom: 10px;
+ line-height: 1.4em;
+ }
+
+ #doc-content h2 {
+ border-bottom: 1px solid lightgrey;
+ }
+
+
+ </style>
+
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function () {
+ var ga = document.createElement('script');
+ ga.type = 'text/javascript';
+ ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(ga, s);
+ })();
- </script>
+ </script>
</head>
<body>
- <div class="navbar navbar-fixed-top">
+<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse"
- data-target=".nav-collapse"> <span class="icon-bar"></span> <span
- class="icon-bar"></span> <span class="icon-bar"></span>
- </a>
- <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
- <div class="nav-collapse">
-
-
- <ul class="nav">
- <li><a href="../index.html">Home</a></li>
- <li class="active"><a href="../documentation">Documentation</a></li>
- <li ><a href="../javadoc.html">Javadoc</a></li>
- <li ><a href="../source.html">Source</a></li>
- <li ><a href="../download.html">Download</a></li>
- <li ><a href="../community.html">Community</a></li>
- <!-- <li><a href="./support.html">Support</a></li> -->
- <li ><a href="../news.html">News</a></li>
- <li ><a href="../migration-guide.html">Migration</a></li>
- </ul>
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span class="icon-bar"></span> <span
+ class="icon-bar"></span> <span class="icon-bar"></span>
+ </a>
+ <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
+
+ <div class="nav-collapse">
+
+
+ <ul class="nav">
+ <li><a href="../index.html">Home</a></li>
+ <li class="active"><a href="../documentation">Documentation</a></li>
+ <li ><a href="../javadoc.html">Javadoc</a></li>
+ <li ><a href="../source.html">Source</a></li>
+ <li ><a href="../download.html">Download</a></li>
+ <li ><a href="../community.html">Community</a></li>
+ <!-- <li><a href="./support.html">Support</a></li> -->
+ <li ><a href="../news.html">News</a></li>
+ <li ><a href="../migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form" action="https://www.google.com/search"
+ method="get" class="navbar-search pull-right">
+ <input value="deltaspike.apache.org" name="sitesearch"
+ type="hidden"> <input class="search-query" name="q"
+ id="query" type="text">
+ </form>
</div>
- <!--/.nav-collapse -->
- <form id="search-form" action="https://www.google.com/search"
- method="get" class="navbar-search pull-right">
- <input value="deltaspike.apache.org" name="sitesearch"
- type="hidden"> <input class="search-query" name="q"
- id="query" type="text">
- </form>
- </div>
</div>
- </div>
+</div>
- <div class="container">
- <div class="row">
- <div class="span12">
- <div class="page-title">
- <h1>Documentation</h1>
- </div>
+<div class="container">
+ <div class="row-fluid">
+
+
+
+ <div class="span12">
+ <div class="page-title">
+ <h1>Documentation</h1>
+ </div>
+
+ <div id="doc-content">
+ <style>
+#doc-content h2 {
+ border-bottom: none;
+}
+</style>
+<div class="row-fluid">
+ <div class="span4">
+ <h2>Get Started</h2>
+ <ul class="nav nav-list toc-like">
+ <li><a href="overview.html">Overview of DeltaSpike</a></li>
+ <li><a href="configure.html">Configure DeltaSpike in Your Projects</a></li>
+ <li><a href="cdiimp.html">Enable CDI For Your Java Environment</a></li>
+ <li><a href="../examples.html">See DeltaSpike in Action</a></li>
+ </ul>
+
+ <h2>More resources</h2>
+ <ul class="nav nav-list toc-like">
+ <li><a href="../articles.html">Articles and Blogs</a></li>
+ <li><a href="../addons.html">Add-ons</a></li>
+ <li><a href="../external.html">External Examples</a></li>
+ </ul>
+ </div>
+
+ <div class="span4">
+ <h2>Modules</h2>
+ <ul class="nav nav-list toc-like">
+ <li><a href="modules.html">Overview of DeltaSpike Modules</a></li>
+ <li><a href="core.html">Core</a></li>
+ <li><a href="bean-validation.html">Bean Validation</a></li>
+ <li><a href="container-control.html">Container Control</a></li>
+ <li><a href="data.html">Data</a></li>
+ <li><a href="jpa.html">JPA</a></li>
+ <li><a href="jsf.html">JSF</a></li>
+ <li><a href="partial-bean.html">Partial-Bean</a></li>
+ <li><a href="scheduler.html">Scheduler</a></li>
+ <li><a href="security.html">Security</a></li>
+ <li><a href="servlet.html">Servlet</a></li>
+ <li><a href="test-control.html">Test-Control</a></li>
+ </ul>
+ </div>
+
+ <div class="span4">
+ <h2>Advanced information</h2>
+ <ul class="nav nav-list toc-like">
+ <li><a href="build.html">Build and Test DeltaSpike from Source</a></li>
+ <li><a href="snapshots.html">Use DeltaSpike Snapshots</a></li>
+ <li><a href="../migration-guide.html">Migrate to DeltaSpike</a></li>
+ <li><a href="../source.html">Contribute to the DeltaSpike Source</a></li>
+ <li><a href="spi.html">DeltaSpike Service Provider Interface (SPI)</a></li>
+ </ul>
+ </div>
- <div id="toc" class="toc">
-
- <hr>
- <div class="ulist">
-<ul>
-<li>
-<p>Get Started</p>
-<div class="ulist">
-<ul>
-<li>
-<p><a href="overview.html">Overview of DeltaSpike</a></p>
-</li>
-<li>
-<p><a href="configure.html">Configure DeltaSpike in Your Projects</a></p>
-</li>
-<li>
-<p><a href="cdiimp.html">Enable CDI For Your Java Environment</a></p>
-</li>
-<li>
-<p><a href="http://deltaspike.apache.org/examples.html">See DeltaSpike in Action</a></p>
-</li>
-</ul>
-</div>
-</li>
-<li>
-<p>Use Individual Modules</p>
-<div class="ulist">
-<ul>
-<li>
-<p><a href="modules.html">Overview of DeltaSpike Modules</a></p>
-</li>
-<li>
-<p><a href="core.html">Core</a></p>
-</li>
-<li>
-<p><a href="bean-validation.html">Bean Validation</a></p>
-</li>
-<li>
-<p><a href="container-control.html">Container Control</a></p>
-</li>
-<li>
-<p><a href="data.html">Data</a></p>
-</li>
-<li>
-<p><a href="jpa.html">JPA</a></p>
-</li>
-<li>
-<p><a href="jsf.html">JSF</a></p>
-</li>
-<li>
-<p><a href="partial-bean.html">Partial-Bean</a></p>
-</li>
-<li>
-<p><a href="scheduler.html">Scheduler</a></p>
-</li>
-<li>
-<p><a href="security.html">Security</a></p>
-</li>
-<li>
-<p><a href="servlet.html">Servlet</a></p>
-</li>
-<li>
-<p><a href="test-control.html">Test-Control</a></p>
-</li>
-</ul>
-</div>
-</li>
-<li>
-<p>Advanced Information</p>
-<div class="ulist">
-<ul>
-<li>
-<p><a href="build.html">Build and Test DeltaSpike from Source</a></p>
-</li>
-<li>
-<p><a href="snapshots.html">Use DeltaSpike Snapshots</a></p>
-</li>
-<li>
-<p><a href="https://deltaspike.apache.org/migration-guide.html">Migrate to DeltaSpike</a></p>
-</li>
-<li>
-<p><a href="https://deltaspike.apache.org/source.html">Contribute to the DeltaSpike Source</a></p>
-</li>
-<li>
-<p><a href="spi.html">DeltaSpike Service Provider Interface (SPI)</a></p>
-</li>
-</ul>
-</div>
-</li>
-<li>
-<p>Access More DeltaSpike Resources</p>
-<div class="ulist">
-<ul>
-<li>
-<p><a href="http://deltaspike.apache.org/articles.html">Articles and Blogs</a></p>
-</li>
-<li>
-<p><a href="http://deltaspike.apache.org/addons.html">Add-ons</a></p>
-</li>
-<li>
-<p><a href="https://deltaspike.apache.org/external.html">External Examples</a></p>
-</li>
-</ul>
-</div>
-</li>
-</ul>
</div>
+ </div>
</div>
- <hr>
+
+ </div>
+ <div class="row">
+ <hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
- Licensed under the Apache License, Version 2.0.</p>
- <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+ <p>Copyright © 2011-2014 The Apache Software Foundation,
+ Licensed under the Apache License, Version 2.0.</p>
+
+ <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</footer>
- </div>
</div>
- </div>
+</div>
+
</body>
</html>
\ No newline at end of file
Modified: websites/staging/deltaspike/trunk/content/documentation/jpa.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/jpa.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/jpa.html Fri May 8 00:20:12 2015
@@ -1,44 +1,66 @@
<!DOCTYPE html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="description" content="deltaspike-generate-pages">
-<meta name="author" content="chm">
-<!-- No caching headers -->
-<meta http-equiv="cache-control" content="no-cache" />
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="expires" content="-1" />
-
-<title>JPA Module</title>
-
-<!--
- 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 agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<!-- Styles -->
-
-<link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
-<link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
-<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" >
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="deltaspike-generate-pages">
+ <meta name="author" content="chm">
+ <!-- No caching headers -->
+ <meta http-equiv="cache-control" content="no-cache"/>
+ <meta http-equiv="pragma" content="no-cache"/>
+ <meta http-equiv="expires" content="-1"/>
+
+ <title>JPA Module</title>
+
+ <!--
+ 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 agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+ <!-- Styles -->
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
+ <link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet">
+
+
+
+
+ <!-- Tocify - nice dynamic autoscrolling TOC -->
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/stylesheets/jquery.tocify.min.css" rel="stylesheet">
+ <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/javascripts/jquery.tocify.min.js"></script>
+
+
+ <script type="text/javascript">
+ $(function () {
+ $("#toc").tocify({
+ scrollTo: 50,
+ extendPage: true,
+ context: "#doc-content",
+ selectors: "h2,h3,h4,h5"
+ });
+ $(".fallback-toc").hide();
+ });
+ </script>
+
-<style type="text/css">
-/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+ <style type="text/css">
+ /* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
/*pre.CodeRay {background-color:#f7f7f8;}*/
.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
@@ -128,90 +150,129 @@ table.CodeRay td.code>pre{padding:0}
.CodeRay .change .change{color:#66f}
.CodeRay .head .head{color:#f4f}
-body {
- padding-top: 60px;
- padding-bottom: 40px;
-}
-</style>
+ body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+ }
+
+ .toc-like {
+ border-radius: 6px;
+ border: 1px solid #ccc;
+ }
+
+ .toc-like li {
+ line-height: 30px;
+ text-indent: 10px;
+ }
+
+ .toc-like li.custom-toc-header {
+ font-weight: bold;
+ background: #666;
+ color: white;
+ cursor: initial !important;
+ padding: 5px;
+ }
+
+ .toc-like li.custom-toc-header a {
+ color: white;
+ font-style: normal;
+ text-shadow: none;
+ padding: 0;
+ }
+
+ .toc-like li.custom-toc-header:hover a {
+ background: #666;
+ }
+
+ .page-title {
+ text-align: left;
+ }
+
+ #doc-content h2,
+ #doc-content h3,
+ #doc-content h4,
+ #doc-content h5,
+ #doc-content h6 {
+ padding-top: 0;
+ margin-top: 25px;
+ margin-bottom: 10px;
+ line-height: 1.4em;
+ }
+
+ #doc-content h2 {
+ border-bottom: 1px solid lightgrey;
+ }
-<script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-36103647-1']);
- _gaq.push(['_trackPageview']);
+ </style>
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
+ <script type="text/javascript">
- </script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function () {
+ var ga = document.createElement('script');
+ ga.type = 'text/javascript';
+ ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
</head>
<body>
- <div class="navbar navbar-fixed-top">
+<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse"
- data-target=".nav-collapse"> <span class="icon-bar"></span> <span
- class="icon-bar"></span> <span class="icon-bar"></span>
- </a>
- <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
- <div class="nav-collapse">
-
-
- <ul class="nav">
- <li><a href="../index.html">Home</a></li>
- <li class="active"><a href="../documentation">Documentation</a></li>
- <li ><a href="../javadoc.html">Javadoc</a></li>
- <li ><a href="../source.html">Source</a></li>
- <li ><a href="../download.html">Download</a></li>
- <li ><a href="../community.html">Community</a></li>
- <!-- <li><a href="./support.html">Support</a></li> -->
- <li ><a href="../news.html">News</a></li>
- <li ><a href="../migration-guide.html">Migration</a></li>
- </ul>
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span class="icon-bar"></span> <span
+ class="icon-bar"></span> <span class="icon-bar"></span>
+ </a>
+ <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
+
+ <div class="nav-collapse">
+
+
+ <ul class="nav">
+ <li><a href="../index.html">Home</a></li>
+ <li class="active"><a href="../documentation">Documentation</a></li>
+ <li ><a href="../javadoc.html">Javadoc</a></li>
+ <li ><a href="../source.html">Source</a></li>
+ <li ><a href="../download.html">Download</a></li>
+ <li ><a href="../community.html">Community</a></li>
+ <!-- <li><a href="./support.html">Support</a></li> -->
+ <li ><a href="../news.html">News</a></li>
+ <li ><a href="../migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form" action="https://www.google.com/search"
+ method="get" class="navbar-search pull-right">
+ <input value="deltaspike.apache.org" name="sitesearch"
+ type="hidden"> <input class="search-query" name="q"
+ id="query" type="text">
+ </form>
</div>
- <!--/.nav-collapse -->
- <form id="search-form" action="https://www.google.com/search"
- method="get" class="navbar-search pull-right">
- <input value="deltaspike.apache.org" name="sitesearch"
- type="hidden"> <input class="search-query" name="q"
- id="query" type="text">
- </form>
- </div>
</div>
- </div>
+</div>
- <div class="container">
- <div class="row">
- <div class="span12">
- <div class="page-title">
- <h1>JPA Module</h1>
- </div>
+<div class="container">
+ <div class="row-fluid">
- <div id="toc" class="toc">
- <ul class="sectlevel1">
-<li><a href="#_overview">Overview</a></li>
-<li><a href="#_configure_your_projects">Configure Your Projects</a>
-<ul class="sectlevel2">
-<li><a href="#_1_declare_jpa_module_dependencies">1. Declare JPA Module Dependencies</a></li>
-<li><a href="#_2_enable_the_transaction_interceptor">2. Enable the Transaction Interceptor</a></li>
-</ul>
-</li>
-<li><a href="#_use_the_module_features">Use the Module Features</a>
-<ul class="sectlevel2">
-<li><a href="#__transactional">@Transactional</a></li>
-<li><a href="#__transactionscoped">@TransactionScoped</a></li>
-<li><a href="#_extended_persistence_contexts">Extended Persistence Contexts</a></li>
-<li><a href="#_jta_support">JTA Support</a></li>
-</ul>
-</li>
-</ul>
- <hr>
- <div class="sect1">
+
+
+ <div class="span8">
+ <div class="page-title">
+ <h1>JPA Module</h1>
+ </div>
+
+ <div id="doc-content">
+ <div class="sect1">
<h2 id="_overview">Overview</h2>
<div class="sectionbody">
<div class="paragraph">
@@ -778,17 +839,67 @@ to <code>/META-INF/apache-deltaspike.pro
</div>
</div>
</div>
+ </div>
</div>
- <hr>
+
+ <div class="span4">
+ <div id="toc">
+ <div class="moduledeps">
+ <ul class="toc-like nav nav-list">
+
+ <li class="custom-toc-header">Depends on</li>
+
+ <li><a href="core.html">Core</a></li>
+
+
+
+ <li class="custom-toc-header"><a href="core.html#_internal_configuration">Configuration</a></li>
+
+ <li><a href="https://github.com/apache/deltaspike/blob/master/deltaspike/modules/jpa/api/src/main/java/org/apache/deltaspike/jpa/api/transaction/TransactionConfig.java">TransactionConfig</a></li>
+
+
+
+ <li class="custom-toc-header">Table of Contents</li>
+
+ </ul>
+ </div>
+ </div>
+
+ <div class="fallback-toc">
+ <ul class="sectlevel1">
+<li><a href="#_overview">Overview</a></li>
+<li><a href="#_configure_your_projects">Configure Your Projects</a>
+<ul class="sectlevel2">
+<li><a href="#_1_declare_jpa_module_dependencies">1. Declare JPA Module Dependencies</a></li>
+<li><a href="#_2_enable_the_transaction_interceptor">2. Enable the Transaction Interceptor</a></li>
+</ul>
+</li>
+<li><a href="#_use_the_module_features">Use the Module Features</a>
+<ul class="sectlevel2">
+<li><a href="#__transactional">@Transactional</a></li>
+<li><a href="#__transactionscoped">@TransactionScoped</a></li>
+<li><a href="#_extended_persistence_contexts">Extended Persistence Contexts</a></li>
+<li><a href="#_jta_support">JTA Support</a></li>
+</ul>
+</li>
+</ul>
+ </div>
+
+ </div>
+
+ </div>
+ <div class="row">
+ <hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
- Licensed under the Apache License, Version 2.0.</p>
- <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+ <p>Copyright © 2011-2014 The Apache Software Foundation,
+ Licensed under the Apache License, Version 2.0.</p>
+
+ <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</footer>
- </div>
</div>
- </div>
+</div>
+
</body>
</html>
\ No newline at end of file