Uses of Interface
org.dellroad.stuff.pobj.PersistentObjectDelegate
Packages that use PersistentObjectDelegate
-
Uses of PersistentObjectDelegate in org.dellroad.stuff.pobj
Classes in org.dellroad.stuff.pobj that implement PersistentObjectDelegateModifier and TypeClassDescriptionclassSupport superclass forPersistentObjectDelegateclasses, with implementations of all methods other thanserialize()anddeserialize().classAdapter class forPersistentObjectDelegateimplementations that wrap a nested delegate.classAPersistentObjectDelegatethat is also aAbstractSchemaUpdaterthat automatically applies needed updates to the persistent XML file.classPersistentObjectDelegatethat uses Spring'sMarshallerandUnmarshallerinterfaces for XML conversion.classPersistentObjectSchemaUpdateroptimized for use with Spring:SpringPersistentObjectSchemaUpdater.getOrderingTieBreaker()is overridden to break ties by ordering updates in the same order as they are defined in the bean factory. This class implementsInitializingBeanand verifies all required properties are set. If no updates are explicitly configured, then allSpringPersistentObjectSchemaUpdates found in the containing bean factory are automatically configured; this requires that all of the schema updates are defined in the sameListableBeanFactory. The default value may be configured as an XML resourceFields in org.dellroad.stuff.pobj declared as PersistentObjectDelegateModifier and TypeFieldDescriptionprotected final PersistentObjectDelegate<T>PersistentObjectSchemaUpdater.delegateprotected final PersistentObjectDelegate<T>FilterDelegate.nestedMethods in org.dellroad.stuff.pobj that return PersistentObjectDelegateModifier and TypeMethodDescriptionPersistentObject.getDelegate()Get the configuredPersistentObjectDelegate.Methods in org.dellroad.stuff.pobj with parameters of type PersistentObjectDelegateModifier and TypeMethodDescriptionstatic <T> TPersistentObject.read(PersistentObjectDelegate<T> delegate, File file, boolean validate) Read in a persistent object from the givenFileusing the given delegate.static <T> TPersistentObject.read(PersistentObjectDelegate<T> delegate, InputStream input, boolean validate) Read in a persistent object from the givenInputStreamusing the given delegate.static <T> TPersistentObject.read(PersistentObjectDelegate<T> delegate, Source source, boolean validate) Read in a persistent object using the given delegate.voidPersistentObject.setDelegate(PersistentObjectDelegate<T> delegate) Configure thePersistentObjectDelegate.static <T> voidPersistentObject.write(T root, PersistentObjectDelegate<T> delegate, File file) Write a persistent object using the given delegate.static <T> voidPersistentObject.write(T root, PersistentObjectDelegate<T> delegate, OutputStream output) Write a persistent object using the given delegate.static <T> voidPersistentObject.write(T root, PersistentObjectDelegate<T> delegate, Result result) Write a persistent object using the given delegate.Constructors in org.dellroad.stuff.pobj with parameters of type PersistentObjectDelegateModifierConstructorDescriptionFilterDelegate(PersistentObjectDelegate<T> nested) Constructor.PersistentObject(PersistentObjectDelegate<T> delegate, File file) Simplified constructor configuring for synchronous write-back and no persistent file checks.PersistentObject(PersistentObjectDelegate<T> delegate, File file, long writeDelay, long checkInterval) Constructor.Constructor.Constructor.