org.hippoecm.hst.core.container
Class HstComponentFactoryImpl
java.lang.Object
org.hippoecm.hst.core.container.HstComponentFactoryImpl
- All Implemented Interfaces:
- HstComponentFactory
public class HstComponentFactoryImpl
- extends Object
- implements HstComponentFactory
HstComponentFactoryImpl
- Version:
- $Id: HstComponentFactoryImpl.java 35666 2012-08-09 07:55:08Z aschrijvers $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
componentRegistry
protected HstComponentRegistry componentRegistry
defaultHstComponentClass
protected Class<?> defaultHstComponentClass
defaultHstComponentClassName
protected String defaultHstComponentClassName
HstComponentFactoryImpl
public HstComponentFactoryImpl(HstComponentRegistry componentRegistry)
getDefaultHstComponentClassName
public String getDefaultHstComponentClassName()
- Description copied from interface:
HstComponentFactory
- Returns the default HST Component class name
- Specified by:
getDefaultHstComponentClassName
in interface HstComponentFactory
- Returns:
getDefaultHstComponentClass
public Class<?> getDefaultHstComponentClass()
setDefaultHstComponentClass
public void setDefaultHstComponentClass(Class<?> defaultHstComponentClass)
getComponentInstance
public HstComponent getComponentInstance(HstContainerConfig requestContainerConfig,
HstComponentConfiguration compConfig,
Mount mount)
throws HstComponentException
- Description copied from interface:
HstComponentFactory
- Returns the HstComponent instance from the HstComponent context.
- Specified by:
getComponentInstance
in interface HstComponentFactory
- Parameters:
requestContainerConfig
- the HstContainer configurationcompConfig
- the HstComponent configurationmount
- the Mount to create the component instance for
- Returns:
- the instance of the HstComponent
- Throws:
HstComponentException
getObjectInstance
public <T> T getObjectInstance(HstContainerConfig requestContainerConfig,
String className)
throws HstComponentException
- Description copied from interface:
HstComponentFactory
- Returns arbitrary object instance from the HstComponent context.
- Specified by:
getObjectInstance
in interface HstComponentFactory
- Returns:
-
- Throws:
HstComponentException
Copyright © 2008-2012 Hippo. All Rights Reserved.