deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafab...@apache.org
Subject svn commit: r1625548 - in /deltaspike/site/trunk/content: ./ documentation/ retired/
Date Wed, 17 Sep 2014 12:22:39 GMT
Author: rafabene
Date: Wed Sep 17 12:22:38 2014
New Revision: 1625548

URL: http://svn.apache.org/r1625548
Log:
DELTASPIKE-716 - Update site links to documenation/ folder

Added:
    deltaspike/site/trunk/content/documentation/README.md
    deltaspike/site/trunk/content/retired/
    deltaspike/site/trunk/content/retired/I18n.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/I18n.mdtext
    deltaspike/site/trunk/content/retired/_features.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/_features.mdtext
    deltaspike/site/trunk/content/retired/_modules.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/_modules.mdtext
    deltaspike/site/trunk/content/retired/bean-validation.mdtext
    deltaspike/site/trunk/content/retired/build.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/build.mdtext
    deltaspike/site/trunk/content/retired/configuration.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/configuration.mdtext
    deltaspike/site/trunk/content/retired/container-control.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/container-control.mdtext
    deltaspike/site/trunk/content/retired/core.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/core.mdtext
    deltaspike/site/trunk/content/retired/data.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/data.mdtext
    deltaspike/site/trunk/content/retired/documentation.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/documentation.mdtext
    deltaspike/site/trunk/content/retired/exceptions.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/exceptions.mdtext
    deltaspike/site/trunk/content/retired/jpa.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/jpa.mdtext
    deltaspike/site/trunk/content/retired/jsf.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/jsf.mdtext
    deltaspike/site/trunk/content/retired/new-committer.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/new-committer.mdtext
    deltaspike/site/trunk/content/retired/partial-bean.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/partial-bean.mdtext
    deltaspike/site/trunk/content/retired/project-name.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/project-name.mdtext
    deltaspike/site/trunk/content/retired/projectstage.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/projectstage.mdtext
    deltaspike/site/trunk/content/retired/release-preparation.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/release-preparation.mdtext
    deltaspike/site/trunk/content/retired/scheduler.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/scheduler.mdtext
    deltaspike/site/trunk/content/retired/security.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/security.mdtext
    deltaspike/site/trunk/content/retired/servlet.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/servlet.mdtext
    deltaspike/site/trunk/content/retired/source.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/source.mdtext
    deltaspike/site/trunk/content/retired/spi.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/spi.mdtext
    deltaspike/site/trunk/content/retired/steps_for_a_release.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/steps_for_a_release.mdtext
    deltaspike/site/trunk/content/retired/support.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/support.mdtext
    deltaspike/site/trunk/content/retired/supporters.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/supporters.mdtext
    deltaspike/site/trunk/content/retired/test-control.mdtext
      - copied unchanged from r1624265, deltaspike/site/trunk/content/test-control.mdtext
Removed:
    deltaspike/site/trunk/content/I18n.mdtext
    deltaspike/site/trunk/content/_features.mdtext
    deltaspike/site/trunk/content/_modules.mdtext
    deltaspike/site/trunk/content/bean-validation.mdtext
    deltaspike/site/trunk/content/build.mdtext
    deltaspike/site/trunk/content/configuration.mdtext
    deltaspike/site/trunk/content/container-control.mdtext
    deltaspike/site/trunk/content/core.mdtext
    deltaspike/site/trunk/content/data.mdtext
    deltaspike/site/trunk/content/documentation.mdtext
    deltaspike/site/trunk/content/exceptions.mdtext
    deltaspike/site/trunk/content/jpa.mdtext
    deltaspike/site/trunk/content/jsf.mdtext
    deltaspike/site/trunk/content/new-committer.mdtext
    deltaspike/site/trunk/content/partial-bean.mdtext
    deltaspike/site/trunk/content/project-name.mdtext
    deltaspike/site/trunk/content/projectstage.mdtext
    deltaspike/site/trunk/content/release-preparation.mdtext
    deltaspike/site/trunk/content/scheduler.mdtext
    deltaspike/site/trunk/content/security.mdtext
    deltaspike/site/trunk/content/servlet.mdtext
    deltaspike/site/trunk/content/source.mdtext
    deltaspike/site/trunk/content/spi.mdtext
    deltaspike/site/trunk/content/steps_for_a_release.mdtext
    deltaspike/site/trunk/content/support.mdtext
    deltaspike/site/trunk/content/supporters.mdtext
    deltaspike/site/trunk/content/test-control.mdtext
Modified:
    deltaspike/site/trunk/content/community.mdtext
    deltaspike/site/trunk/content/download.mdtext
    deltaspike/site/trunk/content/index.html

Modified: deltaspike/site/trunk/content/community.mdtext
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/community.mdtext?rev=1625548&r1=1625547&r2=1625548&view=diff
==============================================================================
--- deltaspike/site/trunk/content/community.mdtext (original)
+++ deltaspike/site/trunk/content/community.mdtext Wed Sep 17 12:22:38 2014
@@ -24,7 +24,7 @@ Notice:    Licensed to the Apache Softwa
 
 # Users
 
-If you are a new user and you would like to start using DeltaSpike, you can have a look at
the [Documentation](documentation.html) and [subscribe](mailto:users-subscribe@deltaspike.apache.org)
our [mailing list for users](mailto:users@deltaspike.apache.org).
+If you are a new user and you would like to start using DeltaSpike, you can have a look at
the [Documentation](documentation/) and [subscribe](mailto:users-subscribe@deltaspike.apache.org)
our [mailing list for users](mailto:users@deltaspike.apache.org).
 If you have troubles to find the information you are looking for, you can also ask in our
[IRC-Channel](#IRC).
 
 Furthermore, you can check our [mail-archives](#mailing-lists).

Added: deltaspike/site/trunk/content/documentation/README.md
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/README.md?rev=1625548&view=auto
==============================================================================
--- deltaspike/site/trunk/content/documentation/README.md (added)
+++ deltaspike/site/trunk/content/documentation/README.md Wed Sep 17 12:22:38 2014
@@ -0,0 +1,3 @@
+If you want to update the documentation sources, please do it at the [git repository](https://git-wip-us.apache.org/repos/asf/deltaspike.git)/documenation

+
+This folder only holds the generated HTML files and it will be overwritten if the documentation
sources becomes updated. 
\ No newline at end of file

Modified: deltaspike/site/trunk/content/download.mdtext
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/download.mdtext?rev=1625548&r1=1625547&r2=1625548&view=diff
==============================================================================
--- deltaspike/site/trunk/content/download.mdtext (original)
+++ deltaspike/site/trunk/content/download.mdtext Wed Sep 17 12:22:38 2014
@@ -50,7 +50,7 @@ v1.0.2
 
 # Maven Dependencies
 
-Details are available <a href="documentation.html#project-configuration-with-maven">here</a>.
+Details are available <a href="documentation/#_project_configuration_without_maven">here</a>.
 
 # Previous Releases
 

Modified: deltaspike/site/trunk/content/index.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/index.html?rev=1625548&r1=1625547&r2=1625548&view=diff
==============================================================================
--- deltaspike/site/trunk/content/index.html (original)
+++ deltaspike/site/trunk/content/index.html Wed Sep 17 12:22:38 2014
@@ -22,7 +22,7 @@
             <div class="span6">
                 <h2>Modules</h2>
                 <p>CDI extensions created by the Apache DeltaSpike community are packaged
as modules. They offer additional functionality not provided out of the box by the CDI spec
(Security, JPA, ...) </p>
-                <p><a class="btn" href="documentation.html#module-overview">View
details »</a></p>
+                <p><a class="btn" href="documentation/#_module_overview">View
details »</a></p>
             </div>
             <div class="span6">
                 <h2>Examples</h2>

Added: deltaspike/site/trunk/content/retired/bean-validation.mdtext
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/retired/bean-validation.mdtext?rev=1625548&view=auto
==============================================================================
--- deltaspike/site/trunk/content/retired/bean-validation.mdtext (added)
+++ deltaspike/site/trunk/content/retired/bean-validation.mdtext Wed Sep 17 12:22:38 2014
@@ -0,0 +1,47 @@
+Title: Bean Validation Module
+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.
+
+[TOC]
+
+***
+
+# Introduction
+
+The main feature of the Bean Validation module is to provide CDI integration in to `ConstraintValidator`s.
 This allows you to inject CDI objects, EJBs etc in to your validators.
+
+## Scoping
+
+`ConstraintValidator`s will inherit whatever scope as defined in the bean class. Inherently,
a `ConstraintValidator` may be invoked by multiple threads so please keep that in mind when
using them.  You should consider using at least `RequestScoped` validators.
+
+## Code Requirements
+
+There are no compile dependencies to use the Bean Validation module.  You simply need to
override the factory, either in Java:
+
+    :::java
+    Validation.byDefaultProvider().configure().constraintValidatorFactory(new CDIAwareConstraintValidatorFactory()).buildValidatorFactory()
+
+Or in XML:
+
+    :::xml
+    <validation-config xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration">
+        <constraint-validator-factory>org.apache.deltaspike.beanvalidation.impl.CDIAwareConstraintValidatorFactory</constraint-validator-factory>
+    </validation-config>
+
+And then you can simply build your `ConstraintValidator`s based on CDI programming rules.



Mime
View raw message