Commit f7a1ec7a220786b6a742c7cb9ed66b6ce2b6067e

Authored by Dancovich
2 parents b7e706eb db9ebe3a
Exists in master

Merge remote-tracking branch 'origin/2.4.0' into 2.4.0

Conflicts:
	impl/extension/jmx/src/main/java/br/gov/frameworkdemoiselle/internal/DynamicMBeanProxy.java
impl/core/src/main/resources/META-INF/beans.xml
@@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
  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 +<beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  38 + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
  39 +
  40 +</beans>
impl/extension/jdbc/src/main/java/br/gov/frameworkdemoiselle/internal/producer/ConnectionProducer.java
  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 + */
1 package br.gov.frameworkdemoiselle.internal.producer; 37 package br.gov.frameworkdemoiselle.internal.producer;
2 38
3 import java.io.Serializable; 39 import java.io.Serializable;
impl/extension/jdbc/src/main/java/br/gov/frameworkdemoiselle/internal/producer/DataSourceProducer.java
  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 + */
1 package br.gov.frameworkdemoiselle.internal.producer; 37 package br.gov.frameworkdemoiselle.internal.producer;
2 38
3 import java.io.Serializable; 39 import java.io.Serializable;
impl/extension/jdbc/src/main/java/br/gov/frameworkdemoiselle/internal/proxy/BasicDataSourceProxy.java
  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 + */
1 package br.gov.frameworkdemoiselle.internal.proxy; 37 package br.gov.frameworkdemoiselle.internal.proxy;
2 38
3 import java.io.PrintWriter; 39 import java.io.PrintWriter;
impl/extension/jdbc/src/main/java/br/gov/frameworkdemoiselle/internal/proxy/ConnectionProxy.java
  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 + */
1 package br.gov.frameworkdemoiselle.internal.proxy; 37 package br.gov.frameworkdemoiselle.internal.proxy;
2 38
3 import java.io.Serializable; 39 import java.io.Serializable;
impl/extension/jdbc/src/main/resources/META-INF/beans.xml
@@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
  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 +<beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  38 + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
  39 +
  40 +</beans>
impl/extension/jmx/src/main/java/br/gov/frameworkdemoiselle/internal/DynamicMBeanProxy.java
@@ -54,10 +54,10 @@ import javax.management.ReflectionException; @@ -54,10 +54,10 @@ import javax.management.ReflectionException;
54 54
55 import br.gov.frameworkdemoiselle.DemoiselleException; 55 import br.gov.frameworkdemoiselle.DemoiselleException;
56 import br.gov.frameworkdemoiselle.internal.implementation.ManagedType; 56 import br.gov.frameworkdemoiselle.internal.implementation.ManagedType;
  57 +import br.gov.frameworkdemoiselle.internal.implementation.Management;
57 import br.gov.frameworkdemoiselle.internal.implementation.ManagedType.FieldDetail; 58 import br.gov.frameworkdemoiselle.internal.implementation.ManagedType.FieldDetail;
58 import br.gov.frameworkdemoiselle.internal.implementation.ManagedType.MethodDetail; 59 import br.gov.frameworkdemoiselle.internal.implementation.ManagedType.MethodDetail;
59 import br.gov.frameworkdemoiselle.internal.implementation.ManagedType.ParameterDetail; 60 import br.gov.frameworkdemoiselle.internal.implementation.ManagedType.ParameterDetail;
60 -import br.gov.frameworkdemoiselle.internal.implementation.Management;  
61 import br.gov.frameworkdemoiselle.management.ManagedAttributeNotFoundException; 61 import br.gov.frameworkdemoiselle.management.ManagedAttributeNotFoundException;
62 import br.gov.frameworkdemoiselle.management.ManagedInvokationException; 62 import br.gov.frameworkdemoiselle.management.ManagedInvokationException;
63 import br.gov.frameworkdemoiselle.stereotype.ManagementController; 63 import br.gov.frameworkdemoiselle.stereotype.ManagementController;
impl/extension/jmx/src/main/resources/META-INF/beans.xml
1 -<?xml version="1.0" encoding="UTF-8"?> 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 +-->
2 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 37 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"> 38 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
4 -</beans>  
5 \ No newline at end of file 39 \ No newline at end of file
  40 +
  41 +</beans>
impl/extension/jpa/src/main/resources/META-INF/beans.xml
@@ -37,4 +37,4 @@ @@ -37,4 +37,4 @@
37 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 37 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
38 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"> 38 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
39 39
40 -</beans>  
41 \ No newline at end of file 40 \ No newline at end of file
  41 +</beans>
impl/extension/jsf/src/main/resources/META-INF/beans.xml
@@ -37,4 +37,4 @@ @@ -37,4 +37,4 @@
37 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 37 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
38 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"> 38 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
39 39
40 -</beans>  
41 \ No newline at end of file 40 \ No newline at end of file
  41 +</beans>
impl/extension/jsf/src/test/java/test/Tests.java
@@ -44,6 +44,41 @@ import org.jboss.shrinkwrap.api.spec.WebArchive; @@ -44,6 +44,41 @@ import org.jboss.shrinkwrap.api.spec.WebArchive;
44 import org.jboss.shrinkwrap.resolver.api.maven.Maven; 44 import org.jboss.shrinkwrap.resolver.api.maven.Maven;
45 import org.junit.Ignore; 45 import org.junit.Ignore;
46 46
  47 +import br.gov.frameworkdemoiselle.annotation.NextView;
  48 +import br.gov.frameworkdemoiselle.annotation.PreviousView;
  49 +import br.gov.frameworkdemoiselle.annotation.Redirect;
  50 +import br.gov.frameworkdemoiselle.internal.bootstrap.JsfBootstrap;
  51 +import br.gov.frameworkdemoiselle.internal.configuration.ExceptionHandlerConfig;
  52 +import br.gov.frameworkdemoiselle.internal.configuration.JsfSecurityConfig;
  53 +import br.gov.frameworkdemoiselle.internal.context.FacesViewContextImpl;
  54 +import br.gov.frameworkdemoiselle.internal.implementation.AbstractExceptionHandler;
  55 +import br.gov.frameworkdemoiselle.internal.implementation.ApplicationExceptionHandler;
  56 +import br.gov.frameworkdemoiselle.internal.implementation.ApplicationExceptionHandlerFactory;
  57 +import br.gov.frameworkdemoiselle.internal.implementation.AuthenticationExceptionHandler;
  58 +import br.gov.frameworkdemoiselle.internal.implementation.AuthenticationExceptionHandlerFactory;
  59 +import br.gov.frameworkdemoiselle.internal.implementation.AuthorizationExceptionHandler;
  60 +import br.gov.frameworkdemoiselle.internal.implementation.AuthorizationExceptionHandlerFactory;
  61 +import br.gov.frameworkdemoiselle.internal.implementation.FacesMessageAppender;
  62 +import br.gov.frameworkdemoiselle.internal.implementation.FileRendererImpl;
  63 +import br.gov.frameworkdemoiselle.internal.implementation.ParameterImpl;
  64 +import br.gov.frameworkdemoiselle.internal.implementation.RedirectExceptionHandler;
  65 +import br.gov.frameworkdemoiselle.internal.implementation.RedirectExceptionHandlerFactory;
  66 +import br.gov.frameworkdemoiselle.internal.implementation.SecurityObserver;
  67 +import br.gov.frameworkdemoiselle.internal.procuder.ParameterProducer;
  68 +import br.gov.frameworkdemoiselle.internal.proxy.FacesContextProxy;
  69 +import br.gov.frameworkdemoiselle.template.AbstractEditPageBean;
  70 +import br.gov.frameworkdemoiselle.template.AbstractListPageBean;
  71 +import br.gov.frameworkdemoiselle.template.AbstractPageBean;
  72 +import br.gov.frameworkdemoiselle.template.EditPageBean;
  73 +import br.gov.frameworkdemoiselle.template.ListPageBean;
  74 +import br.gov.frameworkdemoiselle.template.PageBean;
  75 +import br.gov.frameworkdemoiselle.util.Faces;
  76 +import br.gov.frameworkdemoiselle.util.FileRenderer;
  77 +import br.gov.frameworkdemoiselle.util.Locales;
  78 +import br.gov.frameworkdemoiselle.util.PageNotFoundException;
  79 +import br.gov.frameworkdemoiselle.util.Parameter;
  80 +import br.gov.frameworkdemoiselle.util.Redirector;
  81 +
47 @Ignore 82 @Ignore
48 public final class Tests { 83 public final class Tests {
49 84
@@ -60,18 +95,40 @@ public final class Tests { @@ -60,18 +95,40 @@ public final class Tests {
60 95
61 return ShrinkWrap 96 return ShrinkWrap
62 .create(WebArchive.class) 97 .create(WebArchive.class)
63 - // .addClass(ServletAuthenticator.class)  
64 - // .addClass(ServletAuthorizer.class)  
65 - // .addClass(ServletFilter.class)  
66 - // .addClass(ServletListener.class)  
67 - // .addClass(HttpServletRequestProducer.class)  
68 - // .addClass(HttpServletResponseProducer.class)  
69 - // .addClass(HttpSessionProducer.class)  
70 - // .addClass(ServletLocaleProducer.class)  
71 - // .addClass(BasicAuthenticationFilter.class)  
72 - // .addClass(HttpServletRequestProducerFilter.class)  
73 - // .addClass(HttpServletResponseProducerFilter.class)  
74 - // .addClass(InternalProcessorFilterImpl.class) 98 + .addClass(PageNotFoundException.class)
  99 + .addClass(Locales.class)
  100 + .addClass(Parameter.class)
  101 + .addClass(Faces.class)
  102 + .addClass(Redirector.class)
  103 + .addClass(FileRenderer.class)
  104 + .addClass(JsfSecurityConfig.class)
  105 + .addClass(ExceptionHandlerConfig.class)
  106 + .addClass(FacesViewContextImpl.class)
  107 + .addClass(AuthorizationExceptionHandlerFactory.class)
  108 + .addClass(ApplicationExceptionHandler.class)
  109 + .addClass(FileRendererImpl.class)
  110 + .addClass(SecurityObserver.class)
  111 + .addClass(FacesMessageAppender.class)
  112 + .addClass(RedirectExceptionHandler.class)
  113 + .addClass(AuthenticationExceptionHandlerFactory.class)
  114 + .addClass(AuthenticationExceptionHandler.class)
  115 + .addClass(ApplicationExceptionHandlerFactory.class)
  116 + .addClass(ParameterImpl.class)
  117 + .addClass(AuthorizationExceptionHandler.class)
  118 + .addClass(RedirectExceptionHandlerFactory.class)
  119 + .addClass(AbstractExceptionHandler.class)
  120 + .addClass(FacesContextProxy.class)
  121 + .addClass(JsfBootstrap.class)
  122 + .addClass(ParameterProducer.class)
  123 + .addClass(AbstractPageBean.class)
  124 + .addClass(ListPageBean.class)
  125 + .addClass(AbstractListPageBean.class)
  126 + .addClass(AbstractEditPageBean.class)
  127 + .addClass(PageBean.class)
  128 + .addClass(EditPageBean.class)
  129 + .addClass(PreviousView.class)
  130 + .addClass(Redirect.class)
  131 + .addClass(NextView.class)
75 .addAsResource(createFileAsset("src/main/resources/demoiselle-jsf-bundle.properties"), 132 .addAsResource(createFileAsset("src/main/resources/demoiselle-jsf-bundle.properties"),
76 "demoiselle-jsf-bundle.properties") 133 "demoiselle-jsf-bundle.properties")
77 .addAsWebInfResource(createFileAsset("src/test/resources/test/beans.xml"), "beans.xml") 134 .addAsWebInfResource(createFileAsset("src/test/resources/test/beans.xml"), "beans.xml")
impl/extension/jta/src/test/resources/.glassfish.profile
impl/extension/se/src/main/resources/META-INF/beans.xml
1 -<?xml version="1.0"?>  
2 <!-- 1 <!--
3 Demoiselle Framework 2 Demoiselle Framework
4 Copyright (C) 2010 SERPRO 3 Copyright (C) 2010 SERPRO
@@ -38,4 +37,4 @@ @@ -38,4 +37,4 @@
38 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 37 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
39 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"> 38 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
40 39
41 -</beans>  
42 \ No newline at end of file 40 \ No newline at end of file
  41 +</beans>
impl/extension/servlet/src/main/resources/META-INF/beans.xml
@@ -37,4 +37,4 @@ @@ -37,4 +37,4 @@
37 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 37 <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
38 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"> 38 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
39 39
40 -</beans>  
41 \ No newline at end of file 40 \ No newline at end of file
  41 +</beans>