Class CfgListener
- java.lang.Object
-
- org.apache.archiva.redback.common.config.acc2.CfgListener
-
- All Implemented Interfaces:
org.apache.commons.configuration2.event.EventListener
public class CfgListener extends Object implements org.apache.commons.configuration2.event.EventListener
This class maps apache commons configuration events into redback configuration events.- Author:
- Martin Stockhammer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.ApplicationContextgetApplicationContext()org.springframework.core.task.TaskExecutorgetDefaultExecutor()voidonEvent(org.apache.commons.configuration2.event.ConfigurationEvent event)This method stores old values in thevoidonEvent(org.apache.commons.configuration2.event.Event event)voidregisterChangeListener(RegistryListener listener, String prefix)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetDefaultExecutor(org.springframework.core.task.TaskExecutor defaultExecutor)booleanunregisterChangeListener(RegistryListener listener)
-
-
-
Method Detail
-
onEvent
public void onEvent(org.apache.commons.configuration2.event.ConfigurationEvent event)
This method stores old values in the- Parameters:
event-
-
onEvent
public void onEvent(org.apache.commons.configuration2.event.Event event)
- Specified by:
onEventin interfaceorg.apache.commons.configuration2.event.EventListener
-
registerChangeListener
public void registerChangeListener(RegistryListener listener, String prefix)
-
unregisterChangeListener
public boolean unregisterChangeListener(RegistryListener listener)
-
getDefaultExecutor
public org.springframework.core.task.TaskExecutor getDefaultExecutor()
-
setDefaultExecutor
public void setDefaultExecutor(org.springframework.core.task.TaskExecutor defaultExecutor)
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-