org.apache.cocoon.spring.configurator.impl
Class DefaultBlockResourcesHolder
java.lang.Object
org.springframework.core.io.support.PropertiesLoaderSupport
org.springframework.beans.factory.config.PropertyResourceConfigurer
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
org.apache.cocoon.spring.configurator.impl.DefaultBlockResourcesHolder
- All Implemented Interfaces:
- BeanFactoryAware, BeanFactoryPostProcessor, BeanNameAware, BlockResourcesHolder, Ordered, PriorityOrdered
- public class DefaultBlockResourcesHolder
- extends PropertyPlaceholderConfigurer
- implements BlockResourcesHolder, BeanFactoryPostProcessor
Default implementation of a BlockResourcesHolder
.
- Since:
- 1.0
- Version:
- $Id: DefaultBlockResourcesHolder.java 587750 2007-10-24 02:35:22Z vgritsenko $
Methods inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer |
parseStringValue, resolvePlaceholder, resolvePlaceholder, resolveSystemProperty, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setPlaceholderPrefix, setPlaceholderSuffix, setSearchSystemEnvironment, setSystemPropertiesMode, setSystemPropertiesModeName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
settings
protected org.apache.cocoon.configuration.Settings settings
- The settings object.
extractBlockResources
protected boolean extractBlockResources
- extractBlockResources.
blockContexts
protected Map blockContexts
DefaultBlockResourcesHolder
public DefaultBlockResourcesHolder()
setSettings
public void setSettings(org.apache.cocoon.configuration.Settings settings)
setExtractBlockResources
public void setExtractBlockResources(boolean extractBlockResources)
init
public void init()
throws Exception
- Initialize this component.
- Throws:
Exception
getBlockContexts
public Map getBlockContexts()
- Return a map with deployed block names as keys and the url of the deployed
resources as value.
- Specified by:
getBlockContexts
in interface BlockResourcesHolder
- Returns:
- The map with the block contexts.
processProperties
protected void processProperties(ConfigurableListableBeanFactory beanFactoryToProcess,
Properties props)
throws BeansException
- Throws:
BeansException
- See Also:
PropertyPlaceholderConfigurer.processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory, java.util.Properties)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.