1 package org.apache.beehive.controls.runtime.bean; 2 19 20 import java.beans.BeanInfo ; 21 import java.beans.DefaultPersistenceDelegate ; 22 import java.beans.Encoder ; 23 import java.beans.Expression ; 24 import java.beans.IntrospectionException ; 25 import java.beans.Introspector ; 26 import java.beans.PersistenceDelegate ; 27 import java.beans.PropertyDescriptor ; 28 import java.beans.Statement ; 29 import java.beans.XMLEncoder ; 30 import java.util.Set ; 31 32 import org.apache.beehive.controls.api.ControlException; 33 34 40 public class ImplPersistenceDelegate extends DefaultPersistenceDelegate 41 { 42 45 protected Expression instantiate(Object oldInstance, Encoder out) 46 { 47 return new Expression (((XMLEncoder )out).getOwner(), "ensureControl", null); 53 } 54 55 58 protected void initialize(Class <?> type, Object oldInstance, Object newInstance, Encoder out) 59 { 60 super.initialize(type, oldInstance, newInstance, out); 61 } 62 63 66 public void writeObject(Object oldInstance, Encoder out) 67 { 68 super.writeObject(oldInstance, out); 69 } 70 } 71 | Popular Tags |