Class HazelcastProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.hazelcast.HazelcastProperties
@ConfigurationProperties(prefix="spring.hazelcast") public class HazelcastProperties extends Object
Configuration properties for the hazelcast integration.- Since:
- 1.3.0
Constructor Summary
Constructors Constructor Description HazelcastProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.io.Resource
getConfig()
org.springframework.core.io.Resource
resolveConfigLocation()
Resolve the config location if set.void
setConfig(org.springframework.core.io.Resource config)
Constructor Detail
HazelcastProperties
public HazelcastProperties()
Method Detail
getConfig
public org.springframework.core.io.Resource getConfig()
setConfig
public void setConfig(org.springframework.core.io.Resource config)
resolveConfigLocation
public org.springframework.core.io.Resource resolveConfigLocation()
Resolve the config location if set.- Returns:
- the location or
null
if it is not set - Throws:
IllegalArgumentException
- if the config attribute is set to an unknown location