Class HvlNotificationStompWsProperties
java.lang.Object
tr.com.havelsan.javarch.notification.stomp.ws.starter.configuration.properties.HvlNotificationStompWsProperties
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component
@ConfigurationProperties(prefix="hvl.notification.ws.stomp.configuration")
public class HvlNotificationStompWsProperties
extends Object
implements org.springframework.beans.factory.InitializingBean
Properties of Notification Web Socket.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Gets allowed origins.Gets brokers.Gets ws path.void
setAllowedOrigins
(String allowedOrigins) Sets allowed origins.void
setBrokers
(List<String> brokers) Sets brokers.void
Sets ws path.
-
Constructor Details
-
HvlNotificationStompWsProperties
public HvlNotificationStompWsProperties()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getBrokers
Gets brokers.- Returns:
- the brokers
-
setBrokers
Sets brokers.- Parameters:
brokers
- the brokers
-
getWsPath
Gets ws path.- Returns:
- the ws path
-
setWsPath
Sets ws path.- Parameters:
wsPath
- the ws path
-
getAllowedOrigins
Gets allowed origins.- Returns:
- the allowed origins
-
setAllowedOrigins
Sets allowed origins.- Parameters:
allowedOrigins
- the allowed origins
-