Annotation Interface EnableEclipseStoreRepositories


@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited @Import(software.xdev.spring.data.eclipse.store.repository.config.EclipseStoreRepositoriesRegistrar.class) @ComponentScan({"software.xdev.spring.data.eclipse.store.repository","org.eclipse.store.integrations.spring.boot.types"}) public @interface EnableEclipseStoreRepositories
Enables the user to enable EclipseStore and configure it to some extent.

Currently no configuration is possible!

  • Element Details

    • value

      String[] value
      Alias for the basePackages() attribute. Allows for more concise annotation declarations e.g.: @EnableEclipseStoreRepositories("org.my.pkg") instead of @EnableEclipseStoreRepositories(basePackages="org.my.pkg").

      This currently does nothing! Must get implemented in the future. TODO

      Default:
      {}
    • basePackages

      String[] basePackages
      Base packages to scan for annotated components. value() is an alias for (and mutually exclusive with) this attribute. Use basePackageClasses() for a type-safe alternative to String-based package names.

      This currently does nothing! Must get implemented in the future. TODO

      Default:
      {}
    • basePackageClasses

      Class<?>[] basePackageClasses
      Type-safe alternative to basePackages() for specifying the packages to scan for annotated components. The package of each class specified will be scanned. Consider creating a special no-op marker class or interface in each package that serves no purpose other than being referenced by this attribute.

      This currently does nothing! Must get implemented in the future. TODO

      Default:
      {}
    • includeFilters

      org.springframework.context.annotation.ComponentScan.Filter[] includeFilters
      Specifies which types are eligible for component scanning. Narrows the set of candidate components from everything in basePackages() to everything in the base packages that matches the given filter or

      This currently does nothing! Must get implemented in the future. TODO

      filters.
      Default:
      {}
    • excludeFilters

      org.springframework.context.annotation.ComponentScan.Filter[] excludeFilters
      Specifies which types are not eligible for component scanning.

      This currently does nothing! Must get implemented in the future. TODO

      Default:
      {}
    • repositoryImplementationPostfix

      String repositoryImplementationPostfix
      Returns the postfix to be used when looking up custom repository implementations. Defaults to Impl . So for a repository named PersonRepository the corresponding implementation class will be looked up scanning for PersonRepositoryImpl.

      This currently does nothing! Must get implemented in the future. TODO

      Returns:
      Impl by default.
      Default:
      "Impl"
    • namedQueriesLocation

      String namedQueriesLocation
      Configures the location of where to find the Spring Data named queries properties file. Will default to META-INFO/eclipse-store-named-queries.properties.

      This currently does nothing! Must get implemented in the future. TODO

      Returns:
      empty String by default.
      Default:
      ""
    • queryLookupStrategy

      org.springframework.data.repository.query.QueryLookupStrategy.Key queryLookupStrategy
      Returns the key of the QueryLookupStrategy to be used for lookup queries for query methods. Defaults to QueryLookupStrategy.Key.CREATE_IF_NOT_FOUND.

      This currently does nothing! Must get implemented in the future. TODO

      Returns:
      QueryLookupStrategy.Key.CREATE_IF_NOT_FOUND by default.
      Default:
      CREATE_IF_NOT_FOUND
    • repositoryFactoryBeanClass

      Class<?> repositoryFactoryBeanClass
      Returns the FactoryBean class to be used for each repository instance. Defaults to EclipseStoreRepositoryFactoryBean.

      This currently does nothing! Must get implemented in the future. TODO

      Returns:
      EclipseStoreRepositoryFactoryBean by default.
      Default:
      software.xdev.spring.data.eclipse.store.repository.support.EclipseStoreRepositoryFactoryBean.class
    • repositoryBaseClass

      Class<?> repositoryBaseClass
      Configure the repository base class to be used to create repository proxies for this particular configuration.

      This currently does nothing! Must get implemented in the future. TODO

      Returns:
      DefaultRepositoryBaseClass by default.
      Since:
      1.8
      Default:
      org.springframework.data.repository.config.DefaultRepositoryBaseClass.class
    • eclipseStoreTemplateRef

      String eclipseStoreTemplateRef
      Configures the name of the EclipseStoreTemplate bean to be used with the repositories detected.

      This currently does nothing! Must get implemented in the future. TODO

      Returns:
      eclipse-storeTemplate by default.
      Default:
      "eclipseStoreTemplate"
    • createIndexesForQueryMethods

      boolean createIndexesForQueryMethods
      Whether to automatically create indexes for query methods defined in the repository interface.

      This currently does nothing! Must get implemented in the future. TODO

      Returns:
      false by default.
      Default:
      false
    • considerNestedRepositories

      boolean considerNestedRepositories
      Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the repositories infrastructure.

      This currently does nothing! Must get implemented in the future. TODO

      Returns:
      false by default.
      Default:
      false