Class ComponentModelSourceImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.services.ComponentModelSourceImpl
-
- All Implemented Interfaces:
ComponentModelSource
public class ComponentModelSourceImpl extends java.lang.Object implements ComponentModelSource
-
-
Constructor Summary
Constructors Constructor Description ComponentModelSourceImpl(ComponentClassResolver resolver, ComponentInstantiatorSource source, ComponentDependencyRegistry componentDependencyRegistry, PageSource pageSource, boolean productionMode, boolean multipleClassLoaders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentModel
getModel(java.lang.String componentClassName)
Returns the model for a particular component class name.ComponentModel
getPageModel(java.lang.String pageName)
Returns the model for a page.
-
-
-
Constructor Detail
-
ComponentModelSourceImpl
public ComponentModelSourceImpl(ComponentClassResolver resolver, ComponentInstantiatorSource source, ComponentDependencyRegistry componentDependencyRegistry, PageSource pageSource, @Symbol("tapestry.production-mode") boolean productionMode, @Symbol("tapestry.multiple-classloaders") boolean multipleClassLoaders)
-
-
Method Detail
-
getModel
public ComponentModel getModel(java.lang.String componentClassName)
Description copied from interface:ComponentModelSource
Returns the model for a particular component class name.- Specified by:
getModel
in interfaceComponentModelSource
- Parameters:
componentClassName
- name of component class- Returns:
- model for component
-
getPageModel
public ComponentModel getPageModel(java.lang.String pageName)
Description copied from interface:ComponentModelSource
Returns the model for a page. The page name is resolved to a component class name.- Specified by:
getPageModel
in interfaceComponentModelSource
- Parameters:
pageName
- name of page- Returns:
- the model for the page
-
-