deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject deltaspike git commit: DELTASPIKE-969 Removed references to data module and javassist. Fixed footer. DELTASPIKE-970 Added bare minimum docs for proxy.
Date Sat, 01 Aug 2015 21:05:23 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master aaf4464ca -> e2ba93ae8


DELTASPIKE-969 Removed references to data module and javassist.  Fixed footer.
DELTASPIKE-970 Added bare minimum docs for proxy.


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/e2ba93ae
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/e2ba93ae
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/e2ba93ae

Branch: refs/heads/master
Commit: e2ba93ae871e69ea31c67b442065f531427e1043
Parents: aaf4464
Author: John D. Ament <johndament@apache.org>
Authored: Sat Aug 1 17:05:08 2015 -0400
Committer: John D. Ament <johndament@apache.org>
Committed: Sat Aug 1 17:05:08 2015 -0400

----------------------------------------------------------------------
 documentation/src/main/asciidoc/data.adoc  |  5 ++---
 documentation/src/main/asciidoc/proxy.adoc | 29 ++++++++++++++++++++++++-
 template/document.html.erb                 |  2 +-
 3 files changed, 31 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/e2ba93ae/documentation/src/main/asciidoc/data.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/data.adoc b/documentation/src/main/asciidoc/data.adoc
index d12585d..7cf6a1f 100644
--- a/documentation/src/main/asciidoc/data.adoc
+++ b/documentation/src/main/asciidoc/data.adoc
@@ -77,9 +77,8 @@ Profile. Other configurations like running it inside Tomcat or even a
 Java SE application should be possible - you need to include a JPA
 provider as well as a CDI container to your application manually.
 
-Also note that in order to use abstract classes as repositories, this
-currently requires the presence of the
-http://www.javassist.org[javassist] library in your classpath.
+As of DeltaSpike v1.4.0, the Data module internally leverages the Proxy module, which wraps
ASM 5.  No external
+dependencies required, and now we have full support for interceptors on partial beans.
 
 === 3. Complete Additional Project Configuration
 

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/e2ba93ae/documentation/src/main/asciidoc/proxy.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/proxy.adoc b/documentation/src/main/asciidoc/proxy.adoc
index 93c2aed..7db0c11 100644
--- a/documentation/src/main/asciidoc/proxy.adoc
+++ b/documentation/src/main/asciidoc/proxy.adoc
@@ -5,4 +5,31 @@
 :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 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.
 
 == Overview
-TODO
\ No newline at end of file
+The Proxy Module provides a simple CDI based wrapper for creating dynamic proxies that can
be used within other extensions.
+
+=== 1. Declare Proxy Module Dependencies
+
+Add the Proxy module to the list of dependencies in the project `pom.xml` file using this
code snippet:
+
+[source,xml]
+----
+<dependency>
+    <groupId>org.apache.deltaspike.modules</groupId>
+    <artifactId>deltaspike-proxy-module-api</artifactId>
+    <version>${deltaspike.version}</version>
+    <scope>compile</scope>
+</dependency>
+
+<dependency>
+    <groupId>org.apache.deltaspike.modules</groupId>
+    <artifactId>deltaspike-proxy-module-impl-asm5</artifactId>
+    <version>${deltaspike.version}</version>
+    <scope>runtime</scope>
+</dependency>
+----
+
+The currently provided implementation is a wrapper for ASM 5, which gets shaded into the
implementation JAR.
+
+=== 2. Extend `DeltaSpikeProxyFactory`
+
+The key to making the proxy module work is to provide an implementation of `DeltaSpikeProxyFactory`
which will do your proxy work for you.  DeltaSpike ships a default one in the PartialBean
module which demonstrates how its meant to work.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/e2ba93ae/template/document.html.erb
----------------------------------------------------------------------
diff --git a/template/document.html.erb b/template/document.html.erb
index 85fb412..2e8b65c 100644
--- a/template/document.html.erb
+++ b/template/document.html.erb
@@ -287,7 +287,7 @@
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>


Mime
View raw message