Commit 629fc2fd971c1bca1f74a078e976636a014946c0
1 parent
ef1222f9
Exists in
master
FWK-217: Movendo as anotações do Managment para o pacote correto
Task-Url: https://demoiselle.atlassian.net/browse/FWK-217
Showing
8 changed files
with
15 additions
and
15 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/context/AbstractStaticContext.java
| ... | ... | @@ -42,8 +42,8 @@ import java.util.HashMap; |
| 42 | 42 | import java.util.Map; |
| 43 | 43 | |
| 44 | 44 | import br.gov.frameworkdemoiselle.annotation.Priority; |
| 45 | -import br.gov.frameworkdemoiselle.annotation.StaticScoped; | |
| 46 | 45 | import br.gov.frameworkdemoiselle.configuration.Configuration; |
| 46 | +import br.gov.frameworkdemoiselle.lifecycle.StaticScoped; | |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * | ... | ... |
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/context/StaticContextImpl.java
| ... | ... | @@ -51,8 +51,8 @@ package br.gov.frameworkdemoiselle.internal.context; |
| 51 | 51 | import javax.enterprise.inject.Alternative; |
| 52 | 52 | |
| 53 | 53 | import br.gov.frameworkdemoiselle.annotation.Priority; |
| 54 | -import br.gov.frameworkdemoiselle.annotation.StaticScoped; | |
| 55 | 54 | import br.gov.frameworkdemoiselle.context.StaticContext; |
| 55 | +import br.gov.frameworkdemoiselle.lifecycle.StaticScoped; | |
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * | ... | ... |
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/context/TemporaryViewContextImpl.java
| ... | ... | @@ -51,8 +51,8 @@ package br.gov.frameworkdemoiselle.internal.context; |
| 51 | 51 | import javax.enterprise.inject.Alternative; |
| 52 | 52 | |
| 53 | 53 | import br.gov.frameworkdemoiselle.annotation.Priority; |
| 54 | -import br.gov.frameworkdemoiselle.annotation.ViewScoped; | |
| 55 | 54 | import br.gov.frameworkdemoiselle.context.ViewContext; |
| 55 | +import br.gov.frameworkdemoiselle.lifecycle.ViewScoped; | |
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * | ... | ... |
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/ManagedType.java
| ... | ... | @@ -47,11 +47,11 @@ import javax.inject.Named; |
| 47 | 47 | import javax.inject.Qualifier; |
| 48 | 48 | |
| 49 | 49 | import br.gov.frameworkdemoiselle.DemoiselleException; |
| 50 | -import br.gov.frameworkdemoiselle.annotation.ManagedOperation; | |
| 51 | -import br.gov.frameworkdemoiselle.annotation.ManagedProperty; | |
| 52 | -import br.gov.frameworkdemoiselle.annotation.ManagedProperty.ManagedPropertyAccess; | |
| 53 | -import br.gov.frameworkdemoiselle.annotation.OperationParameter; | |
| 54 | -import br.gov.frameworkdemoiselle.annotation.OperationType; | |
| 50 | +import br.gov.frameworkdemoiselle.management.ManagedOperation; | |
| 51 | +import br.gov.frameworkdemoiselle.management.ManagedProperty; | |
| 52 | +import br.gov.frameworkdemoiselle.management.OperationParameter; | |
| 53 | +import br.gov.frameworkdemoiselle.management.OperationType; | |
| 54 | +import br.gov.frameworkdemoiselle.management.ManagedProperty.ManagedPropertyAccess; | |
| 55 | 55 | import br.gov.frameworkdemoiselle.stereotype.ManagementController; |
| 56 | 56 | import br.gov.frameworkdemoiselle.util.NamedQualifier; |
| 57 | 57 | import br.gov.frameworkdemoiselle.util.ResourceBundle; | ... | ... |
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/Management.java
| ... | ... | @@ -52,7 +52,6 @@ import javax.validation.Validation; |
| 52 | 52 | import javax.validation.ValidationException; |
| 53 | 53 | import javax.validation.Validator; |
| 54 | 54 | |
| 55 | -import br.gov.frameworkdemoiselle.annotation.ManagedProperty; | |
| 56 | 55 | import br.gov.frameworkdemoiselle.annotation.Name; |
| 57 | 56 | import br.gov.frameworkdemoiselle.context.ConversationContext; |
| 58 | 57 | import br.gov.frameworkdemoiselle.context.RequestContext; |
| ... | ... | @@ -61,6 +60,7 @@ import br.gov.frameworkdemoiselle.management.AttributeChangeMessage; |
| 61 | 60 | import br.gov.frameworkdemoiselle.management.DefaultNotification; |
| 62 | 61 | import br.gov.frameworkdemoiselle.management.ManagedAttributeNotFoundException; |
| 63 | 62 | import br.gov.frameworkdemoiselle.management.ManagedInvokationException; |
| 63 | +import br.gov.frameworkdemoiselle.management.ManagedProperty; | |
| 64 | 64 | import br.gov.frameworkdemoiselle.management.ManagementExtension; |
| 65 | 65 | import br.gov.frameworkdemoiselle.management.Notification; |
| 66 | 66 | import br.gov.frameworkdemoiselle.management.NotificationManager; | ... | ... |
impl/core/src/main/java/br/gov/frameworkdemoiselle/stereotype/ManagementController.java
| ... | ... | @@ -54,8 +54,8 @@ import javax.enterprise.util.Nonbinding; |
| 54 | 54 | * this class is in by reading or writing it's attributes and calling it's operations. |
| 55 | 55 | * </p> |
| 56 | 56 | * <p> |
| 57 | - * Only fields annotated with {@link br.gov.frameworkdemoiselle.annotation.ManagedProperty} or methods annotated with | |
| 58 | - * {@link br.gov.frameworkdemoiselle.annotation.ManagedOperation} will be exposed to clients. | |
| 57 | + * Only fields annotated with {@link br.gov.frameworkdemoiselle.management.ManagedProperty} or methods annotated with | |
| 58 | + * {@link br.gov.frameworkdemoiselle.management.ManagedOperation} will be exposed to clients. | |
| 59 | 59 | * </p> |
| 60 | 60 | * <p> |
| 61 | 61 | * Only bean implementations (concrete classes) can be management controllers. It's a runtime error to mark an interface | ... | ... |
impl/core/src/test/java/management/testclasses/DummyManagedClass.java
| ... | ... | @@ -40,9 +40,9 @@ import java.util.UUID; |
| 40 | 40 | |
| 41 | 41 | import javax.validation.constraints.NotNull; |
| 42 | 42 | |
| 43 | -import br.gov.frameworkdemoiselle.annotation.ManagedOperation; | |
| 44 | -import br.gov.frameworkdemoiselle.annotation.ManagedProperty; | |
| 45 | -import br.gov.frameworkdemoiselle.annotation.ManagedProperty.ManagedPropertyAccess; | |
| 43 | +import br.gov.frameworkdemoiselle.management.ManagedOperation; | |
| 44 | +import br.gov.frameworkdemoiselle.management.ManagedProperty; | |
| 45 | +import br.gov.frameworkdemoiselle.management.ManagedProperty.ManagedPropertyAccess; | |
| 46 | 46 | import br.gov.frameworkdemoiselle.stereotype.ManagementController; |
| 47 | 47 | import br.gov.frameworkdemoiselle.util.Beans; |
| 48 | 48 | ... | ... |
impl/core/src/test/java/management/testclasses/DummyManagedClassPropertyError.java
| ... | ... | @@ -36,7 +36,7 @@ |
| 36 | 36 | */ |
| 37 | 37 | package management.testclasses; |
| 38 | 38 | |
| 39 | -import br.gov.frameworkdemoiselle.annotation.ManagedProperty; | |
| 39 | +import br.gov.frameworkdemoiselle.management.ManagedProperty; | |
| 40 | 40 | import br.gov.frameworkdemoiselle.stereotype.ManagementController; |
| 41 | 41 | |
| 42 | 42 | ... | ... |