Class HazelcastProperties
java.lang.Object
org.springframework.boot.hazelcast.autoconfigure.HazelcastProperties
Configuration properties for the hazelcast integration.
- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable org.springframework.core.io.Resource@Nullable org.springframework.core.io.ResourceResolve the config location if set.voidsetConfig(@Nullable org.springframework.core.io.Resource config)
-
Constructor Details
-
HazelcastProperties
public HazelcastProperties()
-
-
Method Details
-
getConfig
public @Nullable org.springframework.core.io.Resource getConfig() -
setConfig
public void setConfig(@Nullable org.springframework.core.io.Resource config) -
resolveConfigLocation
public @Nullable org.springframework.core.io.Resource resolveConfigLocation()Resolve the config location if set.- Returns:
- the location or
nullif it is not set - Throws:
IllegalArgumentException- if the config attribute is set to an unknown location
-