Package org.apache.activemq.plugin
Class DefaultConfigurationProcessor
- java.lang.Object
-
- org.apache.activemq.plugin.DefaultConfigurationProcessor
-
- All Implemented Interfaces:
ConfigurationProcessor
- Direct Known Subclasses:
AuthorizationPluginProcessor
,DestinationInterceptorProcessor
,DestinationPolicyProcessor
,DestinationsProcessor
,NetworkConnectorProcessor
,NetworkConnectorsProcessor
,PluginsProcessor
,PolicyEntryProcessor
,PolicyMapProcessor
,SimpleAuthenticationPluginProcessor
,VirtualDestinationInterceptorProcessor
public class DefaultConfigurationProcessor extends Object implements ConfigurationProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description DefaultConfigurationProcessor(RuntimeConfigurationBroker plugin, Class configurationClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNew(Object o)
protected void
applyModifications(List<Object> current, List<Object> modification)
protected <T> List<Object>
filter(Object obj, Class<T> type)
protected <T> List<Object>
filter(List<Object> objectList, Class<T> type)
protected String
filterPasswords(Object toEscape)
ConfigurationProcessor
findProcessor(Object o)
protected <T> T
fromDto(Object dto, T instance)
protected List<Object>
getContents(Object o)
void
modify(Object existing, Object candidate)
void
processChanges(List current, List modified)
void
processChanges(DtoBroker currentConfiguration, DtoBroker modifiedConfiguration)
void
remove(Object o)
-
-
-
Constructor Detail
-
DefaultConfigurationProcessor
public DefaultConfigurationProcessor(RuntimeConfigurationBroker plugin, Class configurationClass)
-
-
Method Detail
-
processChanges
public void processChanges(DtoBroker currentConfiguration, DtoBroker modifiedConfiguration)
- Specified by:
processChanges
in interfaceConfigurationProcessor
-
processChanges
public void processChanges(List current, List modified)
- Specified by:
processChanges
in interfaceConfigurationProcessor
-
applyModifications
protected void applyModifications(List<Object> current, List<Object> modification)
-
modify
public void modify(Object existing, Object candidate)
- Specified by:
modify
in interfaceConfigurationProcessor
-
addNew
public void addNew(Object o)
- Specified by:
addNew
in interfaceConfigurationProcessor
-
remove
public void remove(Object o)
- Specified by:
remove
in interfaceConfigurationProcessor
-
findProcessor
public ConfigurationProcessor findProcessor(Object o)
- Specified by:
findProcessor
in interfaceConfigurationProcessor
-
fromDto
protected <T> T fromDto(Object dto, T instance)
-
-