public class HazelcastInstanceFactory extends Object
HazelcastInstance
.Constructor and Description |
---|
HazelcastInstanceFactory(com.hazelcast.config.Config config)
Create a
HazelcastInstanceFactory for the specified configuration. |
HazelcastInstanceFactory(Resource configLocation)
Create a
HazelcastInstanceFactory for the specified configuration location. |
Modifier and Type | Method and Description |
---|---|
com.hazelcast.core.HazelcastInstance |
getHazelcastInstance()
Get the
HazelcastInstance . |
public HazelcastInstanceFactory(Resource configLocation) throws IOException
HazelcastInstanceFactory
for the specified configuration location.configLocation
- the location of the configuration fileIOException
- if the configuration location could not be readpublic HazelcastInstanceFactory(com.hazelcast.config.Config config)
HazelcastInstanceFactory
for the specified configuration.config
- the configuration