org.apache.tapestry.spec
Class ApplicationSpecification

java.lang.Object
  extended by org.apache.tapestry.util.BasePropertyHolder
      extended by org.apache.tapestry.spec.LocatablePropertyHolder
          extended by org.apache.tapestry.spec.LibrarySpecification
              extended by 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

Constructor Summary
ApplicationSpecification()
           
 
Method Summary
protected  void extendDescription(org.apache.commons.lang.builder.ToStringBuilder builder)
          Does nothing, subclasses may override to add additional description.
 String getEngineClassName()
          Returns the name of the class (which implements IEngine).
 String getName()
          Returns a "user friendly" name for the application (which is optional).
 void setEngineClassName(String value)
           
 void setName(String name)
           
 
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 class org.apache.tapestry.spec.LocatablePropertyHolder
getLocation, setLocation
 
Methods inherited from class org.apache.tapestry.util.BasePropertyHolder
getProperty, getPropertyNames, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface org.apache.tapestry.util.IPropertyHolder
getProperty, getPropertyNames, removeProperty, setProperty
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Constructor Detail

ApplicationSpecification

public ApplicationSpecification()
Method Detail

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()