Commit 226e32ff743532a4fa868d7cfe97e04d9555db53
1 parent
97ef5ef0
Exists in
master
Adicionado javadoc e cabeçalho do Management.
Showing
6 changed files
with
120 additions
and
6 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/management/AttributeChangeNotification.java
| @@ -40,7 +40,7 @@ package br.gov.frameworkdemoiselle.management; | @@ -40,7 +40,7 @@ package br.gov.frameworkdemoiselle.management; | ||
| 40 | * Special notification to denote an attribute has changed values. | 40 | * Special notification to denote an attribute has changed values. |
| 41 | * | 41 | * |
| 42 | * @see GenericNotification | 42 | * @see GenericNotification |
| 43 | - * @author serpro | 43 | + * @author SERPRO |
| 44 | */ | 44 | */ |
| 45 | public class AttributeChangeNotification extends GenericNotification { | 45 | public class AttributeChangeNotification extends GenericNotification { |
| 46 | 46 |
impl/core/src/main/java/br/gov/frameworkdemoiselle/management/GenericNotification.java
| @@ -39,7 +39,7 @@ package br.gov.frameworkdemoiselle.management; | @@ -39,7 +39,7 @@ package br.gov.frameworkdemoiselle.management; | ||
| 39 | /** | 39 | /** |
| 40 | * Notification that can be sent by the {@link NotificationManager}. | 40 | * Notification that can be sent by the {@link NotificationManager}. |
| 41 | * | 41 | * |
| 42 | - * @author serpro | 42 | + * @author SERPRO |
| 43 | */ | 43 | */ |
| 44 | public class GenericNotification { | 44 | public class GenericNotification { |
| 45 | 45 |
impl/core/src/main/java/br/gov/frameworkdemoiselle/management/ManagedAttributeNotFoundException.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.management; | 37 | package br.gov.frameworkdemoiselle.management; |
| 2 | 38 | ||
| 3 | import br.gov.frameworkdemoiselle.DemoiselleException; | 39 | import br.gov.frameworkdemoiselle.DemoiselleException; |
| @@ -7,7 +43,7 @@ import br.gov.frameworkdemoiselle.DemoiselleException; | @@ -7,7 +43,7 @@ import br.gov.frameworkdemoiselle.DemoiselleException; | ||
| 7 | * Thrown when a management client tries to read or write a property, but the | 43 | * Thrown when a management client tries to read or write a property, but the |
| 8 | * management engine has no knowledge of an attribute with the given name. | 44 | * management engine has no knowledge of an attribute with the given name. |
| 9 | * | 45 | * |
| 10 | - * @author serpro | 46 | + * @author SERPRO |
| 11 | * | 47 | * |
| 12 | */ | 48 | */ |
| 13 | public class ManagedAttributeNotFoundException extends DemoiselleException { | 49 | public class ManagedAttributeNotFoundException extends DemoiselleException { |
impl/core/src/main/java/br/gov/frameworkdemoiselle/management/ManagedInvokationException.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.management; | 37 | package br.gov.frameworkdemoiselle.management; |
| 2 | 38 | ||
| 3 | import br.gov.frameworkdemoiselle.DemoiselleException; | 39 | import br.gov.frameworkdemoiselle.DemoiselleException; |
| 4 | 40 | ||
| 5 | - | 41 | +/** |
| 42 | + * | ||
| 43 | + * Thrown In case the operation doesn't exist or have a different signature | ||
| 44 | + * | ||
| 45 | + * @author SERPRO | ||
| 46 | + * | ||
| 47 | + */ | ||
| 6 | public class ManagedInvokationException extends DemoiselleException { | 48 | public class ManagedInvokationException extends DemoiselleException { |
| 7 | 49 | ||
| 8 | private static final long serialVersionUID = -1542365184737242152L; | 50 | private static final long serialVersionUID = -1542365184737242152L; |
impl/core/src/main/java/br/gov/frameworkdemoiselle/management/ManagementNotificationEvent.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.management; | 37 | package br.gov.frameworkdemoiselle.management; |
| 2 | 38 | ||
| 3 | /** | 39 | /** |
| @@ -5,7 +41,7 @@ package br.gov.frameworkdemoiselle.management; | @@ -5,7 +41,7 @@ package br.gov.frameworkdemoiselle.management; | ||
| 5 | * Implementators can capture this event and be notified when the {@link NotificationManager} | 41 | * Implementators can capture this event and be notified when the {@link NotificationManager} |
| 6 | * sends notifications, so they can pass the notification to the underlying technology. | 42 | * sends notifications, so they can pass the notification to the underlying technology. |
| 7 | * | 43 | * |
| 8 | - * @author serpro | 44 | + * @author SERPRO |
| 9 | * | 45 | * |
| 10 | */ | 46 | */ |
| 11 | public interface ManagementNotificationEvent { | 47 | public interface ManagementNotificationEvent { |
impl/core/src/main/java/br/gov/frameworkdemoiselle/management/NotificationManager.java
| @@ -59,7 +59,7 @@ import br.gov.frameworkdemoiselle.util.Beans; | @@ -59,7 +59,7 @@ import br.gov.frameworkdemoiselle.util.Beans; | ||
| 59 | * the implementator can use qualifiers like the {@link Generic} and {@link AttributeChange} qualifiers | 59 | * the implementator can use qualifiers like the {@link Generic} and {@link AttributeChange} qualifiers |
| 60 | * to filter what king of notifications they will handle. One example of an implementator is the <b>demoiselle-jmx</b> extension.</p> | 60 | * to filter what king of notifications they will handle. One example of an implementator is the <b>demoiselle-jmx</b> extension.</p> |
| 61 | * | 61 | * |
| 62 | - * @author serpro | 62 | + * @author SERPRO |
| 63 | * | 63 | * |
| 64 | */ | 64 | */ |
| 65 | @ApplicationScoped | 65 | @ApplicationScoped |