Configuration is done with configuration atoms. Each atom has a type and value separated by a ->
resource-sink->file_path?name=serviceName
Creates a resource sink object. If a name is provided it will be added to the location at that service name.
template-classpath->com/emergentideas/webhandle/templates/oak
The inclusion of templates that are stored in a jar
template-directory->templates
The inclusion of templates in a directory
classpath-public-resource->com/emergentideas/webhandle/resources/oak
Serve files from a point in the classpath
public-resource->static_content
Serves files from the static_content directory
Also, there are two configuration parameters for public-resource and classpath-public-resource. cacheTime is the time in seconds for the exipiration time reported in the HTTP Header. By default, the cache time is zero and the client must request the resource (though possibly with etag) again each time it needs it.
showDirectoryContents if set to true will cause any directory to show an inventory listing of its content.
An example would be:
public-resource->static_content?showDirectoryContents=true&cacheTime=3600
This will also allow a default set of files like
public-resource->static-content?directoryDefaultFiles=(?i)index.htm.?
class-path-include->com/emergentideas/webhandle/assumptions/oak/infrastructure.configuration
Includes a configuration on the class path
config-file-include->file1.conf
Includes a file configuration (from the root of the app directory if the path is relative)
bin->lib/*
Adds a bunch of jars in the lib directory
bin->bin
Adds a tree of classes from the bin directory
classpath-property-wire->com/emergentideas/icandoit/data/db.properties?objectName=dbConfiguration
Finds the db.properties file on the classpath and tries to wire those properties into a bean named dbConfiguration