org.apache.tapestry.spec
Class ApplicationSpecification
java.lang.Object
org.apache.tapestry.util.BasePropertyHolder
org.apache.tapestry.spec.LocatablePropertyHolder
org.apache.tapestry.spec.LibrarySpecification
org.apache.tapestry.spec.ApplicationSpecification
- All Implemented Interfaces:
- ILocatable, ILocationHolder, IApplicationSpecification, ILibrarySpecification, IPropertyHolder
public class ApplicationSpecification
- extends LibrarySpecification
- implements IApplicationSpecification
Defines the configuration for a Tapestry application. An ApplicationSpecification
extends LibrarySpecification
by adding new properties
name and engineClassName.
- Version:
- $Id: ApplicationSpecification.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.tapestry.spec.LibrarySpecification |
addExtensionSpecification, applyTypeConstraint, checkExtension, getComponents, getComponentSpecificationPath, getComponentTypes, getDescription, getExtension, getExtension, getExtensionNames, getExtensions, getExtensionSpecification, getExtensionSpecifications, getLibraries, getLibraryIds, getLibrarySpecificationPath, getPageNames, getPages, getPageSpecificationPath, getPublicId, getResourceResolver, getServiceClassName, getServiceNames, getServices, getSpecificationLocation, instantiateImmediateExtensions, setComponents, setComponentSpecificationPath, setDescription, setExtensions, setLibraries, setLibrarySpecificationPath, setPages, setPageSpecificationPath, setPublicId, setResourceResolver, setServiceClassName, setServices, setSpecificationLocation, toString |
Methods inherited from interface org.apache.tapestry.spec.ILibrarySpecification |
addExtensionSpecification, checkExtension, getComponentSpecificationPath, getComponentTypes, getDescription, getExtension, getExtension, getExtensionNames, getExtensionSpecification, getExtensionSpecifications, getLibraryIds, getLibrarySpecificationPath, getPageNames, getPageSpecificationPath, getPublicId, getResourceResolver, getServiceClassName, getServiceNames, getSpecificationLocation, instantiateImmediateExtensions, setComponentSpecificationPath, setDescription, setLibrarySpecificationPath, setPageSpecificationPath, setPublicId, setResourceResolver, setServiceClassName, setSpecificationLocation |
ApplicationSpecification
public ApplicationSpecification()
getName
public String getName()
- Description copied from interface:
IApplicationSpecification
- Returns a "user friendly" name for the application (which is optional).
- Specified by:
getName
in interface IApplicationSpecification
setEngineClassName
public void setEngineClassName(String value)
- Specified by:
setEngineClassName
in interface IApplicationSpecification
getEngineClassName
public String getEngineClassName()
- Description copied from interface:
IApplicationSpecification
- Returns the name of the class (which implements
IEngine
).
May return null, in which case a default is used.
- Specified by:
getEngineClassName
in interface IApplicationSpecification
setName
public void setName(String name)
- Specified by:
setName
in interface IApplicationSpecification
extendDescription
protected void extendDescription(org.apache.commons.lang.builder.ToStringBuilder builder)
- Description copied from class:
LibrarySpecification
- Does nothing, subclasses may override to add additional
description.
- Overrides:
extendDescription
in class LibrarySpecification
- See Also:
LibrarySpecification.toString()