Class AvailableIntegration

java.lang.Object
io.meeds.spring.AvailableIntegration

public class AvailableIntegration extends Object
A class that group available Spring integrations made for Meeds Portal and Meeds Kernel applications. Those integrations aren't imported automatically to let each addon choose which Beans and integrations to adopt which is convinient to not force initialise not needed Beans in certain contexts
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String[]
    Shortcut to list all available Meeds Portal and Kernel integration modules with Spring
    static final String[]
    Shortcut to list all available Meeds Portal and Kernel integration modules with Spring in Test scope
    static final String
    Used when JPA entities are needed to be managed by Spring Data JPA and allows to reuse JPA PersistenceUnit defined globally in Kernel.
    static final String
    Used to bring Kernel components into Spring Context and vice versa add Spring Service layer Beans into Kernel and other Spring contexts to share the service layer
    static final String
    see KERNEL_MODULE Use in Test Scope only
    static final String
    Has to be used when Liquibase configuration and annotation are needed in an addon, otherwise, the parameter 'exclude = LiquibaseAutoConfiguration.class' has to be added in SpringBootApplication annotation to disable auto configuration of liquibase.
    static final String
    Used to inject Meeds Portal Authentication and Authorization contexts to apply security on Spring REST/Controller endpoints.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    use WEB_MODULE instead to integrate all web integrations
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    use WEB_MODULE instead
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • KERNEL_MODULE

      public static final String KERNEL_MODULE
      Used to bring Kernel components into Spring Context and vice versa add Spring Service layer Beans into Kernel and other Spring contexts to share the service layer
      See Also:
    • KERNEL_TEST_MODULE

      public static final String KERNEL_TEST_MODULE
      see KERNEL_MODULE Use in Test Scope only
      See Also:
    • JPA_MODULE

      public static final String JPA_MODULE
      Used when JPA entities are needed to be managed by Spring Data JPA and allows to reuse JPA PersistenceUnit defined globally in Kernel.
      See Also:
    • LIQUIBASE_MODULE

      public static final String LIQUIBASE_MODULE
      Has to be used when Liquibase configuration and annotation are needed in an addon, otherwise, the parameter 'exclude = LiquibaseAutoConfiguration.class' has to be added in SpringBootApplication annotation to disable auto configuration of liquibase.
      See Also:
    • WEB_MODULE

      public static final String WEB_MODULE
      Used to inject Meeds Portal Authentication and Authorization contexts to apply security on Spring REST/Controller endpoints. At the same time, this will allow to inject ConversationState.setCurrent as made in regular Portal REST endpoints.
      See Also:
    • WEB_SECURITY_MODULE

      @Deprecated(forRemoval=true) public static final String WEB_SECURITY_MODULE
      Deprecated, for removal: This API element is subject to removal in a future version.
      use WEB_MODULE instead to integrate all web integrations
      Used to inject Meeds Portal Authentication and Authorization contexts to apply security on Spring REST/Controller endpoints. At the same time, this will allow to inject ConversationState.setCurrent as made in regular Portal REST endpoints.
      See Also:
    • WEB_TRANSACTION_MODULE

      @Deprecated(forRemoval=true) public static final String WEB_TRANSACTION_MODULE
      Deprecated, for removal: This API element is subject to removal in a future version.
      use WEB_MODULE instead
      Used to start and end a transaction at each Spring REST/Controller call, same as used to be in regular Portal REST endpoints.
      See Also:
    • ALL_MODULES

      public static final String[] ALL_MODULES
      Shortcut to list all available Meeds Portal and Kernel integration modules with Spring
    • ALL_TEST_MODULES

      public static final String[] ALL_TEST_MODULES
      Shortcut to list all available Meeds Portal and Kernel integration modules with Spring in Test scope