@Component @ConfigurationProperties(prefix="module.example") @Profile(value="example-module") public class ExampleProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EXAMPLE_PROFILE
Spring profile for module "example".
|
Constructor and Description |
---|
ExampleProperties() |
Modifier and Type | Method and Description |
---|---|
ErrorsCatalog |
exampleErrorCatalog()
Register
ErrorEnum as ErrorsCatalog . |
public static final String EXAMPLE_PROFILE
@Bean public ErrorsCatalog exampleErrorCatalog()
ErrorEnum
as ErrorsCatalog
.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.