pyutilib组件体系结构。

pyutilib.component.core的Python项目详细描述


概述

这个python包提供了一个模块化组件框架,它 由以下核心类组成:

Interface:Subclasses of this class declare component interfaces that are registered in the framework
ExtensionPoint:A class used to declare extension points, which can access components with a particular interface
Plugin:Subclasses of this class declare plugins, which can be used to provide services within this component framework.
SingletonPlugin:
Subclasses of this class declare singleton plugins, for which a single instance can be declared.
PluginEnvironment:
A class that maintains the registries for interfaces, extension points and components.
PluginGlobals:A class that maintains global data concerning the set of environments that are currently being used.
PluginError:The exception class that is raised when errors arise in this framework.

该框架的大纲改编自TRAC(参见 trac.core模块)。这个框架通过支持 组件的多环境管理,以及非单例 插件。对于熟悉trac的人,下面的类大致如下 相互对应:

TracPyUtilib
InterfaceInterface
ExtensionPointExtensionPoint
ComponentSingletonPlugin
ComponentManagerPluginEnvironment

请参阅The PyUtilib Component Architecture Reference Manual,以获取pyutilib组件的详细描述及其使用示例。

许可证

疯牛病。请参阅license.txt文件。

组织

第三方软件

没有。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
带Maven的Eclipse Java存储库:缺少工件:compile   java如何以编程方式停止RMI服务器并通知所有客户端   java Roboguice抛出ClassNotFoundException:AnnotationDatabaseImpl   java为什么lucene 4.0删除IndexWriter类的两个构造函数?   nls如何避免java项目上不需要的日志消息?   测试无法在Selenium Webdriver(java)中定位iframe   使用XML的java servlet   java如何使用jxl用****屏蔽单元格   java使用SQLite从数据库中选择“没有这样的列”   导入扫描程序后出现java编译错误   插入查询的java空指针异常   使用创建PostgreSQL数据库。Java应用中的sql脚本   java使用jsoup将HTML解析为格式化的明文