/**
* Instantiates a new application context state.
*
* @throws IOException
* Signals that an I/O exception has occurred.
*/
protected ApplicationContextState(boolean allowInitAccess ) throws IOException
{
this.allowInitAccess = allowInitAccess;
// Load the property defaults
PropertiesFactoryBean factory = new PropertiesFactoryBean();
factory.setPropertiesPersister(getPersister());
factory.setLocations(getParent().getResources(
ChildApplicationContextFactory.CLASSPATH_PREFIX + getCategory() + '/' + getTypeName()
+ ChildApplicationContextFactory.PROPERTIES_SUFFIX));
factory.afterPropertiesSet();
this.properties = (Properties) factory.getObject();
}
ChildApplicationContextFactory.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:community-edition-old
作者:
评论列表
文章目录