赞
踩
在看PDM Enablers时一直不是很了解PropertySet这个类的作用到底是什么,只是凭猜想是用于数据的存取的.
现在在OSWorkflow中也发现了PropertySet.到opensymphones上看到有一个PropertySet的项目.看了一些文档.对PropertySet有了更具体的了解,PropertySet是应用系统中不确定采用哪种持久化方式时完成存储请求的一种方式.在PropertySet是使用key-value pair方式来设置数据.
PropertySet is a persistence-agnostic module that can be used to fulfill storage requirements in applications that can change constantly. An example of this might be a "User Preferences" storage device. It may be impossible to know what the user can store at any given time in your application's lifecycle, so employing a PropertySet can help. Backed by XML, EJB, Ofbiz, JDBC, Castor JDO, or any other persistence mechanism, you can provide a complete typed key-value pair implementation.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。