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) voidreleaseLeaveOverResource(org.pf4j.PluginWrapper plugin, org.springframework.context.support.GenericApplicationContext mainAppCtx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.laxture.sbp.spring.boot.IPluginConfigurer
onStart, onStop
-
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
-
releaseLeaveOverResource
public void releaseLeaveOverResource(org.pf4j.PluginWrapper plugin, org.springframework.context.support.GenericApplicationContext mainAppCtx) - Specified by:
releaseLeaveOverResourcein interfaceorg.laxture.sbp.spring.boot.IPluginConfigurer
-