Package io.meeds.chat
Class MatrixApplication
java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
io.meeds.spring.kernel.PortalApplicationContextInitializer
io.meeds.chat.MatrixApplication
- All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer
@SpringBootApplication(scanBasePackages={"io.meeds.chat","io.meeds.spring.kernel","io.meeds.spring.jpa","io.meeds.spring.liquibase","io.meeds.spring.web"})
@EnableJpaRepositories(basePackages="io.meeds.chat")
@PropertySource("classpath:application.properties") @PropertySource("classpath:application-common.properties") @PropertySource("classpath:matrix.properties")
public class MatrixApplication
extends io.meeds.spring.kernel.PortalApplicationContextInitializer
Spring Boot bootstrap of the Matrix chat add-on webapp. Extending
PortalApplicationContextInitializer registers this WAR's Spring
context with the eXo Kernel before the portal container boots, so that beans
of this add-on and of the platform are mutually injectable.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringBase package of the add-on, used both as the Spring component scan root and as the base package of its JPA repositories.Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.meeds.spring.kernel.PortalApplicationContextInitializer
createSpringApplicationBuilder, isAsync, onStartupMethods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
configure, createRootApplicationContext, deregisterJdbcDrivers, run, setRegisterErrorPageFilter, shutDownSharedReactorSchedulers
-
Field Details
-
MODULE_NAME
Base package of the add-on, used both as the Spring component scan root and as the base package of its JPA repositories.- See Also:
-
-
Constructor Details
-
MatrixApplication
public MatrixApplication()
-