edu.ksu.cis.cadena.core
Class ScenarioAdapterMaintainer

java.lang.Object
  extended by AdapterImpl
      extended by edu.ksu.cis.cadena.core.ParentStyleAdapter
          extended by edu.ksu.cis.cadena.core.ScenarioAdapterMaintainer

public class ScenarioAdapterMaintainer
extends ParentStyleAdapter

Adapter which tracks the lifecycle of a lower-tier top object ( "scenario") manages the automatic attachment of plugin-specified adapters to all objects contained inside the scenario.

Author:
Matt Hoosier

Constructor Summary
ScenarioAdapterMaintainer(Scenario scenario)
          Adds adapters to the scenario as specified by plugins.
 
Method Summary
 void notifyChanged(Notification msg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScenarioAdapterMaintainer

public ScenarioAdapterMaintainer(Scenario scenario)
Adds adapters to the scenario as specified by plugins. Add's and removes adapters as the scenario's parents (and parents' parents) change.

Parameters:
style - The scenario to manage the adapters for.
Method Detail

notifyChanged

public void notifyChanged(Notification msg)