com.pelzer.util
Class SimplePersistenceBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
com.pelzer.util.SimplePersistenceBeanInfo
- All Implemented Interfaces:
- BeanInfo, Serializable
- Direct Known Subclasses:
- LocaleBeanInfo, LocalizableBeanInfo, LocalizerBeanInfo
public abstract class SimplePersistenceBeanInfo
- extends SimpleBeanInfo
- implements Serializable
This is a simple class that can be extended to specify how to persist a class using the
Encoder system. Simply extend this class, then implement the
getPersistenceDelegate() method. If you are trying to persist a class named Foo, you
should create a class named FooBeanInfo which extends this class in the same package as Foo.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePersistenceBeanInfo
public SimplePersistenceBeanInfo()
getPersistenceDelegate
protected abstract PersistenceDelegate getPersistenceDelegate()
- Returns:
- the PersistenceDelegate that should be used for the class described by this BeanInfo.
getBeanDescriptor
public BeanDescriptor getBeanDescriptor()
- Specified by:
getBeanDescriptor in interface BeanInfo- Overrides:
getBeanDescriptor in class SimpleBeanInfo
Copyright © 2012. All Rights Reserved.