Package org.jumpmind.symmetric
Class SymmetricBootPropertySetupListener
java.lang.Object
org.jumpmind.symmetric.SymmetricBootPropertySetupListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>
public class SymmetricBootPropertySetupListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringgetCookieName(boolean httpEnable, boolean httpsEnable, int httpPort, int httpsPort) voidonApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event) protected voidsetIfNotBlank(String sysName, String bootName, TypedProperties sysProps, Properties bootProps) protected voidsetIfNotBlank(String sysName, String bootName, TypedProperties sysProps, Properties bootProps, String defaultValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
SymmetricBootPropertySetupListener
public SymmetricBootPropertySetupListener()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>
-
getCookieName
protected static String getCookieName(boolean httpEnable, boolean httpsEnable, int httpPort, int httpsPort) -
setIfNotBlank
protected void setIfNotBlank(String sysName, String bootName, TypedProperties sysProps, Properties bootProps) -
setIfNotBlank
protected void setIfNotBlank(String sysName, String bootName, TypedProperties sysProps, Properties bootProps, String defaultValue)
-