railo.runtime.listener
Class JavaSettingsImpl

java.lang.Object
  extended by railo.runtime.listener.JavaSettingsImpl
All Implemented Interfaces:
JavaSettings

public class JavaSettingsImpl
extends Object
implements JavaSettings


Constructor Summary
JavaSettingsImpl()
           
JavaSettingsImpl(Resource[] resources, Boolean loadCFMLClassPath, boolean reloadOnChange, int watchInterval, String[] watchedExtensions)
           
 
Method Summary
static void _getResourcesTranslated(List<Resource> list, Resource[] resources, boolean deep)
           
 Resource[] getResources()
          pathes to the directories that contain Java classes or JAR files.
 Resource[] getResourcesTranslated()
           
 boolean loadCFMLClassPath()
          Indicates whether to load the classes from the default lib directory.
 boolean reloadOnChange()
          Indicates whether to reload the updated classes and JARs dynamically, without restarting ColdFusion.
 String[] watchedExtensions()
          Specifies the extensions of the files to monitor for changes.
 int watchInterval()
          Specifies the time interval in seconds after which to verify any change in the class files or JAR files.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSettingsImpl

public JavaSettingsImpl()

JavaSettingsImpl

public JavaSettingsImpl(Resource[] resources,
                        Boolean loadCFMLClassPath,
                        boolean reloadOnChange,
                        int watchInterval,
                        String[] watchedExtensions)
Method Detail

getResources

public Resource[] getResources()
Description copied from interface: JavaSettings
pathes to the directories that contain Java classes or JAR files.

Specified by:
getResources in interface JavaSettings
Returns:
resource pathes

getResourcesTranslated

public Resource[] getResourcesTranslated()

_getResourcesTranslated

public static void _getResourcesTranslated(List<Resource> list,
                                           Resource[] resources,
                                           boolean deep)

loadCFMLClassPath

public boolean loadCFMLClassPath()
Description copied from interface: JavaSettings
Indicates whether to load the classes from the default lib directory. The default value is false

Specified by:
loadCFMLClassPath in interface JavaSettings
Returns:

reloadOnChange

public boolean reloadOnChange()
Description copied from interface: JavaSettings
Indicates whether to reload the updated classes and JARs dynamically, without restarting ColdFusion. The default value is false

Specified by:
reloadOnChange in interface JavaSettings
Returns:

watchInterval

public int watchInterval()
Description copied from interface: JavaSettings
Specifies the time interval in seconds after which to verify any change in the class files or JAR files. The default value is 60seconds

Specified by:
watchInterval in interface JavaSettings
Returns:

watchedExtensions

public String[] watchedExtensions()
Description copied from interface: JavaSettings
Specifies the extensions of the files to monitor for changes. By default, only .class and .jar files aremonitored.

Specified by:
watchedExtensions in interface JavaSettings
Returns:


Copyright © 2012 Railo