Package org.laxture.sbp.spring.boot
Class SbpJpaConfigurer
java.lang.Object
org.laxture.sbp.spring.boot.SbpJpaConfigurer
- All Implemented Interfaces:
org.laxture.sbp.spring.boot.IPluginConfigurer
public class SbpJpaConfigurer
extends Object
implements org.laxture.sbp.spring.boot.IPluginConfigurer
Introduce registrable JPA configuration.
Note that related AutoConfigurations have to be excluded explicitly to avoid
duplicated resource retaining.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]voidonBootstrap(org.laxture.sbp.spring.boot.SpringBootstrap bootstrap, org.springframework.context.support.GenericApplicationContext pluginApplicationContext) voidonStart(org.laxture.sbp.SpringBootPlugin plugin) voidonStop(org.laxture.sbp.SpringBootPlugin plugin) voidreleaseLeaveOverResource(org.pf4j.PluginWrapper plugin, org.springframework.context.support.GenericApplicationContext mainAppCtx)
-
Constructor Details
-
SbpJpaConfigurer
-
-
Method Details
-
excludeConfigurations
- Specified by:
excludeConfigurationsin interfaceorg.laxture.sbp.spring.boot.IPluginConfigurer
-
onBootstrap
public void onBootstrap(org.laxture.sbp.spring.boot.SpringBootstrap bootstrap, org.springframework.context.support.GenericApplicationContext pluginApplicationContext) - Specified by:
onBootstrapin interfaceorg.laxture.sbp.spring.boot.IPluginConfigurer
-
onStart
public void onStart(org.laxture.sbp.SpringBootPlugin plugin) - Specified by:
onStartin interfaceorg.laxture.sbp.spring.boot.IPluginConfigurer
-
onStop
public void onStop(org.laxture.sbp.SpringBootPlugin plugin) - Specified by:
onStopin interfaceorg.laxture.sbp.spring.boot.IPluginConfigurer
-
releaseLeaveOverResource
public void releaseLeaveOverResource(org.pf4j.PluginWrapper plugin, org.springframework.context.support.GenericApplicationContext mainAppCtx) - Specified by:
releaseLeaveOverResourcein interfaceorg.laxture.sbp.spring.boot.IPluginConfigurer
-