Package io.meeds.spring
Class AvailableIntegration
java.lang.Object
io.meeds.spring.AvailableIntegration
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
FieldsModifier and TypeFieldDescriptionstatic final String[]Shortcut to list all available Meeds Portal and Kernel integration modules with Springstatic final String[]Shortcut to list all available Meeds Portal and Kernel integration modules with Spring in Test scopestatic final StringUsed when JPA entities are needed to be managed by Spring Data JPA and allows to reuse JPA PersistenceUnit defined globally in Kernel.static final StringUsed to bring Kernel components into Spring Context and vice versa add SpringServicelayer Beans into Kernel and other Spring contexts to share the service layerstatic final StringseeKERNEL_MODULEUse in Test Scope onlystatic final StringHas 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 StringUsed to inject Meeds Portal Authentication and Authorization contexts to apply security on Spring REST/Controller endpoints.static final StringDeprecated, for removal: This API element is subject to removal in a future version.use WEB_MODULE instead to integrate all web integrationsstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.use WEB_MODULE instead -
Method Summary
-
Field Details
-
KERNEL_MODULE
Used to bring Kernel components into Spring Context and vice versa add SpringServicelayer Beans into Kernel and other Spring contexts to share the service layer- See Also:
-
KERNEL_TEST_MODULE
seeKERNEL_MODULEUse in Test Scope only- See Also:
-
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
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
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, for removal: This API element is subject to removal in a future version.use WEB_MODULE instead to integrate all web integrationsUsed 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, for removal: This API element is subject to removal in a future version.use WEB_MODULE insteadUsed 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
Shortcut to list all available Meeds Portal and Kernel integration modules with Spring -
ALL_TEST_MODULES
Shortcut to list all available Meeds Portal and Kernel integration modules with Spring in Test scope
-