Commit 782855a7bc10925960d738981b31c5a63fdb1a07
1 parent
05b10599
Exists in
master
Alteração do nome do método que obtém o nome da chave do
demoiselle.properties.
Showing
4 changed files
with
5 additions
and
5 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/bootstrap/AbstractStrategyBootstrap.java
@@ -92,7 +92,7 @@ public abstract class AbstractStrategyBootstrap<T, D extends T> extends Abstract | @@ -92,7 +92,7 @@ public abstract class AbstractStrategyBootstrap<T, D extends T> extends Abstract | ||
92 | 92 | ||
93 | try { | 93 | try { |
94 | Configuration config = new PropertiesConfiguration("demoiselle.properties"); | 94 | Configuration config = new PropertiesConfiguration("demoiselle.properties"); |
95 | - canonicalName = config.getString(getConfigurationKey(), getDefaultClass().getCanonicalName()); | 95 | + canonicalName = config.getString(getConfigKey(), getDefaultClass().getCanonicalName()); |
96 | 96 | ||
97 | ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); | 97 | ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); |
98 | result = (Class<T>) Class.forName(canonicalName, false, classLoader); | 98 | result = (Class<T>) Class.forName(canonicalName, false, classLoader); |
@@ -113,6 +113,6 @@ public abstract class AbstractStrategyBootstrap<T, D extends T> extends Abstract | @@ -113,6 +113,6 @@ public abstract class AbstractStrategyBootstrap<T, D extends T> extends Abstract | ||
113 | return result; | 113 | return result; |
114 | } | 114 | } |
115 | 115 | ||
116 | - public abstract String getConfigurationKey(); | 116 | + public abstract String getConfigKey(); |
117 | 117 | ||
118 | } | 118 | } |
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/bootstrap/AuthenticatorBootstrap.java
@@ -41,7 +41,7 @@ import br.gov.frameworkdemoiselle.security.Authenticator; | @@ -41,7 +41,7 @@ import br.gov.frameworkdemoiselle.security.Authenticator; | ||
41 | 41 | ||
42 | public class AuthenticatorBootstrap extends AbstractStrategyBootstrap<Authenticator, DefaultAuthenticator> { | 42 | public class AuthenticatorBootstrap extends AbstractStrategyBootstrap<Authenticator, DefaultAuthenticator> { |
43 | 43 | ||
44 | - public String getConfigurationKey() { | 44 | + public String getConfigKey() { |
45 | return "frameworkdemoiselle.security.authenticator.class"; | 45 | return "frameworkdemoiselle.security.authenticator.class"; |
46 | } | 46 | } |
47 | 47 |
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/bootstrap/AuthorizerBootstrap.java
@@ -41,7 +41,7 @@ import br.gov.frameworkdemoiselle.security.Authorizer; | @@ -41,7 +41,7 @@ import br.gov.frameworkdemoiselle.security.Authorizer; | ||
41 | 41 | ||
42 | public class AuthorizerBootstrap extends AbstractStrategyBootstrap<Authorizer, DefaultAuthorizer> { | 42 | public class AuthorizerBootstrap extends AbstractStrategyBootstrap<Authorizer, DefaultAuthorizer> { |
43 | 43 | ||
44 | - public String getConfigurationKey() { | 44 | + public String getConfigKey() { |
45 | return "frameworkdemoiselle.security.authorizer.class"; | 45 | return "frameworkdemoiselle.security.authorizer.class"; |
46 | } | 46 | } |
47 | 47 |
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/bootstrap/TransactionBootstrap.java
@@ -41,7 +41,7 @@ import br.gov.frameworkdemoiselle.transaction.Transaction; | @@ -41,7 +41,7 @@ import br.gov.frameworkdemoiselle.transaction.Transaction; | ||
41 | 41 | ||
42 | public class TransactionBootstrap extends AbstractStrategyBootstrap<Transaction, DefaultTransaction> { | 42 | public class TransactionBootstrap extends AbstractStrategyBootstrap<Transaction, DefaultTransaction> { |
43 | 43 | ||
44 | - public String getConfigurationKey() { | 44 | + public String getConfigKey() { |
45 | return "frameworkdemoiselle.transaction.class"; | 45 | return "frameworkdemoiselle.transaction.class"; |
46 | } | 46 | } |
47 | 47 |