public abstract class GovernanceProperties<T extends Configurable> extends Object implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected Class<T> |
entityClass |
protected org.springframework.core.env.Environment |
environment |
protected Map<String,T> |
parsedEntity |
| Modifier | Constructor and Description |
|---|---|
protected |
GovernanceProperties(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected abstract Class<T> |
getEntityClass() |
Map<String,T> |
getParsedEntity() |
void |
onConfigurationChangedEvent(GovernanceConfigurationChangedEvent event) |
protected Map<String,T> |
parseEntity(Map<String,String> yamlEntity) |
protected T |
parseEntityItem(String key,
String value) |
@Autowired protected org.springframework.core.env.Environment environment
protected Map<String,T extends Configurable> parsedEntity
protected Class<T extends Configurable> entityClass
protected GovernanceProperties(String key)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic void onConfigurationChangedEvent(GovernanceConfigurationChangedEvent event)
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.