com.hazelcast.config
Class XmlConfigLocator

java.lang.Object
  extended by com.hazelcast.config.XmlConfigLocator

public class XmlConfigLocator
extends Object

Support class for the XmlConfigBuilder that locates the XML configuration:

  1. system property
  2. working directory
  3. classpath
  4. default


Constructor Summary
XmlConfigLocator()
          Constructs a XmlConfigLocator that tries to find a usable XML configuration file.
 
Method Summary
 File getConfigurationFile()
           
 URL getConfigurationUrl()
           
 InputStream getIn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlConfigLocator

public XmlConfigLocator()
Constructs a XmlConfigLocator that tries to find a usable XML configuration file.

Throws:
HazelcastException - if there was a problem locating the config-file.
Method Detail

getIn

public InputStream getIn()

getConfigurationFile

public File getConfigurationFile()

getConfigurationUrl

public URL getConfigurationUrl()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.