org.apache.beehive.controls.runtime.bean
Class ContextPersistenceDelegate

Object
  extended by PersistenceDelegate
      extended by DefaultPersistenceDelegate
          extended by ContextPersistenceDelegate

public class ContextPersistenceDelegate
extends DefaultPersistenceDelegate

The ContextPersistenceDelegate class supports the XML persistance of ControlBeanContext instances by implementing the java.beans.PersistenceDelegate API, and overriding the default persistance algorithm based upon the runtime structure for Controls.


Constructor Summary
ContextPersistenceDelegate()
           
 
Method Summary
protected  void initialize(Class<?> type, Object oldInstance, Object newInstance, Encoder out)
          PersistenceDelegate.initialize()
protected  Expression instantiate(Object oldInstance, Encoder out)
          PersistenceDelegate.instantiate()
 void writeObject(Object oldInstance, Encoder out)
          PersistenceDelegate.writeObject()
 
Methods inherited from class DefaultPersistenceDelegate
mutatesTo
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextPersistenceDelegate

public ContextPersistenceDelegate()
Method Detail

instantiate

protected Expression instantiate(Object oldInstance,
                                 Encoder out)
PersistenceDelegate.instantiate()

Overrides:
instantiate in class DefaultPersistenceDelegate

initialize

protected void initialize(Class<?> type,
                          Object oldInstance,
                          Object newInstance,
                          Encoder out)
PersistenceDelegate.initialize()

Overrides:
initialize in class DefaultPersistenceDelegate

writeObject

public void writeObject(Object oldInstance,
                        Encoder out)
PersistenceDelegate.writeObject()

Overrides:
writeObject in class PersistenceDelegate