Class DefaultFileStoreServiceProviderProducer

java.lang.Object
fr.paris.lutece.portal.service.file.implementation.DefaultFileStoreServiceProviderProducer

@ApplicationScoped public class DefaultFileStoreServiceProviderProducer extends Object
Producer for default file store service provider. Creates and configures a FileStoreServiceProvider instance using CDI injection instead of manual service lookup.
  • Constructor Details

    • DefaultFileStoreServiceProviderProducer

      public DefaultFileStoreServiceProviderProducer()
  • Method Details

    • createFileStoreServiceProvider

      @Produces @ApplicationScoped @Named("defaultDatabaseFileStoreProvider") public IFileStoreServiceProvider createFileStoreServiceProvider()
      Produces a configured FileStoreServiceProvider instance. Uses CDI Instance<T> to safely resolve services with proper error handling.
      Returns:
      configured IFileStoreServiceProvider instance
      Throws:
      IllegalStateException - if required services cannot be resolved