Class EntityFileSystem.BuilderStage3<Entry extends IFileSystemEntry<Entry>, PersistenceContext, Entity, Scope>
java.lang.Object
de.xima.fc.logic.filesystem.EntityFileSystem.BuilderStage3<Entry, PersistenceContext, Entity, Scope>
- Type Parameters:
Entry- The type of the file system entry.PersistenceContext- The type of the persistence context used to access the persistence layer.Entity- The type of the file entity.Scope- The type of the scope for the entities, such as a client or project.
- Enclosing class:
EntityFileSystem<Entry extends IFileSystemEntry<Entry>, PersistenceContext, Entity, Scope>
public static final class EntityFileSystem.BuilderStage3<Entry extends IFileSystemEntry<Entry>, PersistenceContext, Entity, Scope>
extends Object
A builder for configuring a new
EntityFileSystem.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionpersistenceContextFactory(ISerializableSupplier<PersistenceContext> persistenceContextFactory) Sets the persistence context factory to use for creating new persistence contexts when the persistence layer needs to be accessed.
-
Method Details
-
persistenceContextFactory
public EntityFileSystem.BuilderStage4<Entry, PersistenceContext, Entity, Scope> persistenceContextFactory(ISerializableSupplier<PersistenceContext> persistenceContextFactory) Sets the persistence context factory to use for creating new persistence contexts when the persistence layer needs to be accessed.- Parameters:
persistenceContextFactory- The persistence context factory to use for accessing the persistence layer.- Returns:
- This builder instance for chaining method calls.
-