Commit 5221f7c6bbe8449e4255322a8886906d76f71c65
1 parent
60413067
Exists in
master
Criação do CacheFilter na extensão REST
Showing
12 changed files
with
71 additions
and
482 deletions
Show diff stats
impl/extension/servlet/src/main/java/br/gov/frameworkdemoiselle/util/CacheFilter.java
0 → 100644
... | ... | @@ -0,0 +1,71 @@ |
1 | +/* | |
2 | + * Demoiselle Framework | |
3 | + * Copyright (C) 2010 SERPRO | |
4 | + * ---------------------------------------------------------------------------- | |
5 | + * This file is part of Demoiselle Framework. | |
6 | + * | |
7 | + * Demoiselle Framework is free software; you can redistribute it and/or | |
8 | + * modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | + * as published by the Free Software Foundation. | |
10 | + * | |
11 | + * This program is distributed in the hope that it will be useful, | |
12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | + * GNU General Public License for more details. | |
15 | + * | |
16 | + * You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | + * along with this program; if not, see <http://www.gnu.org/licenses/> | |
18 | + * or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | + * Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | + * ---------------------------------------------------------------------------- | |
21 | + * Este arquivo é parte do Framework Demoiselle. | |
22 | + * | |
23 | + * O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | + * modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | + * do Software Livre (FSF). | |
26 | + * | |
27 | + * Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | + * GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | + * APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | + * para maiores detalhes. | |
31 | + * | |
32 | + * Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | + * "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
34 | + * ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | + * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | + */ | |
37 | +package br.gov.frameworkdemoiselle.util; | |
38 | + | |
39 | +import java.io.IOException; | |
40 | + | |
41 | +import javax.servlet.Filter; | |
42 | +import javax.servlet.FilterChain; | |
43 | +import javax.servlet.FilterConfig; | |
44 | +import javax.servlet.ServletException; | |
45 | +import javax.servlet.ServletRequest; | |
46 | +import javax.servlet.ServletResponse; | |
47 | +import javax.servlet.http.HttpServletResponse; | |
48 | + | |
49 | +public class CacheFilter implements Filter { | |
50 | + | |
51 | + private String value; | |
52 | + | |
53 | + @Override | |
54 | + public void init(FilterConfig config) throws ServletException { | |
55 | + value = config.getInitParameter("value"); | |
56 | + } | |
57 | + | |
58 | + @Override | |
59 | + public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, | |
60 | + ServletException { | |
61 | + if (response instanceof HttpServletResponse) { | |
62 | + ((HttpServletResponse) response).setHeader("Cache-Control", value); | |
63 | + } | |
64 | + | |
65 | + chain.doFilter(request, response); | |
66 | + } | |
67 | + | |
68 | + @Override | |
69 | + public void destroy() { | |
70 | + } | |
71 | +} | ... | ... |
impl/extension/servlet/src/main/java/br/gov/frameworkdemoiselle/util/ServletFilter.java
... | ... | @@ -50,11 +50,6 @@ import javax.servlet.http.HttpServletResponse; |
50 | 50 | import br.gov.frameworkdemoiselle.internal.producer.HttpServletRequestProducer; |
51 | 51 | import br.gov.frameworkdemoiselle.internal.producer.HttpServletResponseProducer; |
52 | 52 | |
53 | -/** | |
54 | - * Implements the {@link javax.servlet.Filter} interface. | |
55 | - * | |
56 | - * @author SERPRO | |
57 | - */ | |
58 | 53 | public class ServletFilter implements Filter { |
59 | 54 | |
60 | 55 | @Override |
... | ... | @@ -66,14 +61,6 @@ public class ServletFilter implements Filter { |
66 | 61 | ServletException { |
67 | 62 | setDelegate(request, response); |
68 | 63 | chain.doFilter(request, response); |
69 | - | |
70 | - // if (request instanceof HttpServletRequest) { | |
71 | - // Object attribute = ((HttpServletRequest) request).getAttribute("x"); | |
72 | - // ((HttpServletResponse) response).setHeader("Set-Cookie", ""); | |
73 | - // ((HttpServletResponse) response).setHeader("XXXX", "CCCC"); | |
74 | - // response.getWriter().flush(); | |
75 | - // response.getWriter().close(); | |
76 | - // } | |
77 | 64 | } |
78 | 65 | |
79 | 66 | private void setDelegate(ServletRequest request, ServletResponse response) { | ... | ... |
site/apt/core.apt
... | ... | @@ -1,47 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - Core | |
38 | - | |
39 | -Core | |
40 | - | |
41 | - O core do Demoiselle contém aquelas funcionalidades que são comuns a todas as extensões e aplicações. | |
42 | - Ele é simples, leve e formado majoritariamente por interfaces e poucas implementações, e é a base do framework. | |
43 | - Sem ele, as extensões e a própria aplicação não funcionam. | |
44 | - | |
45 | - É o core que possibilita a integração entre as camadas, criação de estereótipos, utilização de | |
46 | - recursos transacionais, tratamento de exceção, mensagens entre outras funcionalidades importantes em uma aplicação | |
47 | - tradicional. |
site/apt/documentation.apt
... | ... | @@ -1,47 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - Documentação | |
38 | - | |
39 | -Documentação | |
40 | - | |
41 | -*-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------* | |
42 | -| {{{http://demoiselle.sourceforge.net/docs/quickstart}QuickStart}} | Tutorial do tipo "passo a passo" que ilustra de forma rápida e prática o Demoiselle Framework 2.0 | {{{http://demoiselle.sourceforge.net/docs/quickstart/2.0.3/html/}HTML}} | {{{http://demoiselle.sourceforge.net/docs/quickstart/2.0.3/html_single/}HTML simples}} | {{{http://demoiselle.sourceforge.net/docs/quickstart/2.0.3/pdf/demoiselle-quickstart.pdf}PDF}} | | |
43 | -*-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------* | |
44 | -| {{{http://demoiselle.sourceforge.net/docs/reference}Reference Guide}} | Guia de referência destinado a todos que desejem conhecer melhor o framework e suas funcionalidades | {{{http://demoiselle.sourceforge.net/docs/reference/2.1.1/html/}HTML}} | {{{http://demoiselle.sourceforge.net/docs/reference/2.1.1/html_single/}HTML simples}} | {{{http://demoiselle.sourceforge.net/docs/reference/2.1.1/pdf/demoiselle-reference.pdf}PDF}} | | |
45 | -*-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------* | |
46 | -| {{{http://demoiselle.sourceforge.net/docs/what-is-new}O que mudou?}} | Documento que exemplifica as mudanças nas funcionalidades do framework | {{{http://demoiselle.sourceforge.net/docs/what-is-new/2.0.1/html/}HTML}} | {{{http://demoiselle.sourceforge.net/docs/what-is-new/2.0.1/html_single/}HTML simples}} | {{{http://demoiselle.sourceforge.net/docs/what-is-new/2.0.1/pdf/demoiselle-what-is-new.pdf}PDF}} | | |
47 | -*-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------* |
site/apt/index.apt
... | ... | @@ -1,43 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - Sobre o Demoiselle 2 | |
38 | - | |
39 | -Sobre o Demoiselle 2 | |
40 | - | |
41 | - A versão 2 do framework Demoiselle não possui um core monolítico, onde todas as funcionalidades estão concentradas em um único pacote, | |
42 | - pois não queremos que os desenvolvedores que utilizam o Demoiselle sejam obrigados a ter em seus projetos funcionalidades que não vão | |
43 | - utilizar. Por esse motivo, esta versão do framework foi dividida em Core, Extensões e componentes. |
site/apt/jpa.apt
... | ... | @@ -1,42 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - JPA extension | |
38 | - | |
39 | -JPA extension | |
40 | - | |
41 | - Esta extensão habilita o uso de JPA para tratar a persistência. Nela são disponibilizados uma fábrica de EntityManager, | |
42 | - um mecanismo de transação para JPA e um template para o DAO. |
site/apt/jsf.apt
... | ... | @@ -1,42 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - JSF extension | |
38 | - | |
39 | -JSF extension | |
40 | - | |
41 | - Prepara a aplicação para utilizar o JSF. Disponibiliza automaticamente as configurações | |
42 | - necessárias para o JSF. Templates de CRUD também são disponibilizados. |
site/apt/jta.apt
... | ... | @@ -1,43 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - JTA extension | |
38 | - | |
39 | -JTA extension | |
40 | - | |
41 | - Esta extensão é destinada à aplicações que utilizem JTA como estratégia de transação. | |
42 | - | |
43 | - |
site/apt/rest.apt
... | ... | @@ -1,42 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - REST extension | |
38 | - | |
39 | -REST extension | |
40 | - | |
41 | - Esta extensão habilita o uso da especificação JAX-RS para expor serviços. Nela são disponibilizadas exceções, | |
42 | - mapeadores de exceção, interceptadores para validação. |
site/apt/se.apt
... | ... | @@ -1,41 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - SE extension | |
38 | - | |
39 | -SE extension | |
40 | - | |
41 | - Extende o framework para uso em plataformas SE, o famoso mundo desktop. |
site/apt/servlet.apt
... | ... | @@ -1,43 +0,0 @@ |
1 | -~~ Demoiselle Framework | |
2 | -~~ Copyright (C) 2010 SERPRO | |
3 | -~~ ============================================================================ | |
4 | -~~ This file is part of Demoiselle Framework. | |
5 | -~~ | |
6 | -~~ Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -~~ modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -~~ as published by the Free Software Foundation. | |
9 | -~~ | |
10 | -~~ This program is distributed in the hope that it will be useful, | |
11 | -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -~~ GNU General Public License for more details. | |
14 | -~~ | |
15 | -~~ You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -~~ along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -~~ or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -~~ Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -~~ ============================================================================ | |
20 | -~~ Este arquivo é parte do Framework Demoiselle. | |
21 | -~~ | |
22 | -~~ O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -~~ modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -~~ do Software Livre (FSF). | |
25 | -~~ | |
26 | -~~ Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -~~ GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -~~ APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -~~ para maiores detalhes. | |
30 | -~~ | |
31 | -~~ Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -~~ "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -~~ ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -~~ 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | - ------ | |
37 | - Servlet extension | |
38 | - | |
39 | -Servlet extension | |
40 | - | |
41 | - Esta extensão possibilita a injeção de elementos da especificação Servlet. Nela são disponibilidos fábricas de | |
42 | - HttpServletResponse, HttpServletRequest, HttpSession; implementação do mecanismo de controle de acesso que delega | |
43 | - a responsabilidade para o login-config definido no web.xml; além de filtros e listeners. |
site/site.xml
... | ... | @@ -1,79 +0,0 @@ |
1 | -<!-- | |
2 | - Demoiselle Framework | |
3 | - Copyright (C) 2010 SERPRO | |
4 | - ============================================================================ | |
5 | - This file is part of Demoiselle Framework. | |
6 | - | |
7 | - Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - as published by the Free Software Foundation. | |
10 | - | |
11 | - This program is distributed in the hope that it will be useful, | |
12 | - but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - GNU General Public License for more details. | |
15 | - | |
16 | - You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - along with this program; if not, see <http://www.gnu.org/licenses/> | |
18 | - or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - ============================================================================ | |
21 | - Este arquivo é parte do Framework Demoiselle. | |
22 | - | |
23 | - O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - do Software Livre (FSF). | |
26 | - | |
27 | - Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - para maiores detalhes. | |
31 | - | |
32 | - Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
34 | - ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | ---> | |
37 | -<project> | |
38 | - <bannerLeft> | |
39 | - <name>${project.name}</name> | |
40 | - <src>images/logo-l.png</src> | |
41 | - <href>${project.url}</href> | |
42 | - </bannerLeft> | |
43 | - | |
44 | - <bannerRight> | |
45 | - <src>images/logo-r.png</src> | |
46 | - </bannerRight> | |
47 | - | |
48 | - <publishDate position="left" format="dd/MM/yyyy HH:mm:ss" /> | |
49 | - <version position="left" /> | |
50 | - | |
51 | - <skin> | |
52 | - <groupId>br.gov.frameworkdemoiselle.component</groupId> | |
53 | - <artifactId>demoiselle-default-skin</artifactId> | |
54 | - <version>2.0.1</version> | |
55 | - </skin> | |
56 | - | |
57 | - <body> | |
58 | - <links> | |
59 | - <item name="Projeto" href="http://sourceforge.net/projects/demoiselle" /> | |
60 | - <item name="Portal" href="http://www.frameworkdemoiselle.gov.br" /> | |
61 | - </links> | |
62 | - | |
63 | - <menu name="Demoiselle 2"> | |
64 | - <item name="Sobre" href="index.html" /> | |
65 | - <item name="Documentação" href="http://demoiselle.sourceforge.net/docs" /> | |
66 | - <item name="Notas de Versão" href="https://demoiselle.atlassian.net/browse/FWK/?selectedTab=com.atlassian.jira.jira-projects-plugin:versions-panel" /> | |
67 | - </menu> | |
68 | - | |
69 | - <menu name="Módulos"> | |
70 | - <item name="Core" href="/core.html" /> | |
71 | - <item name="JPA extension" href="/jpa.html" /> | |
72 | - <item name="Servlet extension" href="/servlet.html" /> | |
73 | - <item name="JSF extension" href="/jsf.html" /> | |
74 | - <item name="REST extension" href="/rest.html" /> | |
75 | - <item name="SE extension" href="/se.html" /> | |
76 | - <item name="JTA extension" href="/jta.html" /> | |
77 | - </menu> | |
78 | - </body> | |
79 | -</project> |