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 String
getCookieName
(boolean httpEnable, boolean httpsEnable, int httpPort, int httpsPort) void
onApplicationEvent
(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event) protected void
setIfNotBlank
(String sysName, String bootName, TypedProperties sysProps, Properties bootProps) protected void
setIfNotBlank
(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, wait
Methods 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:
onApplicationEvent
in 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)
-