railo.runtime.config
Class ConfigServerFactory

java.lang.Object
  extended by railo.runtime.config.ConfigServerFactory

public final class ConfigServerFactory
extends Object


Constructor Summary
ConfigServerFactory()
           
 
Method Summary
static void createContextFiles(Resource configDir, ConfigServer config, boolean doNew)
           
static ConfigServerImpl newInstance(CFMLEngineImpl engine, Map initContextes, Map contextes, Resource configDir)
          creates a new ServletConfig Impl Object
static void reloadInstance(ConfigServerImpl configServer)
          reloads the Config Object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigServerFactory

public ConfigServerFactory()
Method Detail

newInstance

public static ConfigServerImpl newInstance(CFMLEngineImpl engine,
                                           Map initContextes,
                                           Map contextes,
                                           Resource configDir)
                                    throws SAXException,
                                           ClassException,
                                           PageException,
                                           IOException,
                                           TagLibException,
                                           FunctionLibException
creates a new ServletConfig Impl Object

Parameters:
engine -
initContextes -
contextes -
configDir -
Returns:
new Instance
Throws:
SAXException
ClassNotFoundException
PageException
IOException
TagLibException
FunctionLibException
ClassException

reloadInstance

public static void reloadInstance(ConfigServerImpl configServer)
                           throws SAXException,
                                  ClassException,
                                  PageException,
                                  IOException,
                                  TagLibException,
                                  FunctionLibException
reloads the Config Object

Parameters:
configServer -
Throws:
SAXException
ClassNotFoundException
PageException
IOException
TagLibException
FunctionLibException
ClassException

createContextFiles

public static void createContextFiles(Resource configDir,
                                      ConfigServer config,
                                      boolean doNew)
                               throws IOException
Throws:
IOException


Copyright © 2012 Railo