org.oddjob.arooa.parsing
Class ConfigurationOwnerSupport

java.lang.Object
  extended by org.oddjob.arooa.utils.ListenerSupportBase<OwnerStateListener>
      extended by org.oddjob.arooa.parsing.ConfigurationOwnerSupport

public class ConfigurationOwnerSupport
extends ListenerSupportBase<OwnerStateListener>

Helper class for ConfigurationOwners. Tracks and notifies listeners.

Author:
rob

Constructor Summary
ConfigurationOwnerSupport(ConfigurationOwner owner)
           
 
Method Summary
 void addOwnerStateListener(OwnerStateListener listener)
           
 ConfigurationSession provideConfigurationSession()
           
 void removeOwnerStateListener(OwnerStateListener listener)
           
 void setConfigurationSession(ConfigurationSession session)
           
 
Methods inherited from class org.oddjob.arooa.utils.ListenerSupportBase
addListener, copy, getOnEmpty, getOnFirst, removeListener, setOnEmpty, setOnFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationOwnerSupport

public ConfigurationOwnerSupport(ConfigurationOwner owner)
Method Detail

setConfigurationSession

public void setConfigurationSession(ConfigurationSession session)

provideConfigurationSession

public ConfigurationSession provideConfigurationSession()

addOwnerStateListener

public void addOwnerStateListener(OwnerStateListener listener)

removeOwnerStateListener

public void removeOwnerStateListener(OwnerStateListener listener)