Commit e3514823e2cf8e20a3a031e1861e9d64a6917752
1 parent
43d82bb5
Exists in
master
Ajuste na interface Configuration para não ignorar as classes anotadas
com @Configuration e com o atriburto resource não vazio.
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/configuration/Configuration.java
... | ... | @@ -44,6 +44,7 @@ import java.lang.annotation.Retention; |
44 | 44 | import java.lang.annotation.Target; |
45 | 45 | |
46 | 46 | import javax.enterprise.inject.Stereotype; |
47 | +import javax.enterprise.util.Nonbinding; | |
47 | 48 | import javax.inject.Singleton; |
48 | 49 | import javax.interceptor.InterceptorBinding; |
49 | 50 | |
... | ... | @@ -82,6 +83,7 @@ public @interface Configuration { |
82 | 83 | * |
83 | 84 | * @return ConfigType |
84 | 85 | */ |
86 | + @Nonbinding | |
85 | 87 | ConfigType type() default ConfigType.PROPERTIES; |
86 | 88 | |
87 | 89 | /** |
... | ... | @@ -93,6 +95,7 @@ public @interface Configuration { |
93 | 95 | * |
94 | 96 | * @return String |
95 | 97 | */ |
98 | + @Nonbinding | |
96 | 99 | String prefix() default ""; |
97 | 100 | |
98 | 101 | /** |
... | ... | @@ -106,6 +109,7 @@ public @interface Configuration { |
106 | 109 | * |
107 | 110 | * @return String |
108 | 111 | */ |
112 | + @Nonbinding | |
109 | 113 | String resource() default DEFAULT_RESOURCE; |
110 | 114 | |
111 | 115 | } | ... | ... |