COM+管理工具 Component Services snap-in 组件服务 区 怕控制台窗口帮助 操作6查看国X国凸国需 □计算机 白恩我的电胞 白〔0M+应用程序 Pinger. 1 中全 COM+ QC Dead Letter Queue +1- IIS Utilities Ee PingComponent. Pinger. 白口接口 B-s PInger 白口方法 中口订阅 角色 System Application 出多wod0 PE Package t-O Distributed Transaction Coordinator
客户创建COM+对象 对客户透明,使用增强了的COM库 客户创建COM对象 COM+ runtime services会检查COM+的配置信息 启动指定的服务进程 安装 Interceptor,,截取器 在客户方创建代理对象,并返回给客户 COM+根据指定的应用属性管理服务进程的生 命周期
C.DE *%L C.MNK cdefg hijk:`a ;l mno pqrstSuv wxyz OPQRSFTUV +W XYZ
COM+对于组件的要求 要求DLL形式的组件 要求自注册 DIIRegisterServer, DIIUnregister Server 要求有 typelib typelist既可以绑在dll,也可以单独的文件 typelib-) component library
!" #! " [=A\6 7 ]=A^_`;
COM+Calg(OM+目录) COM管理信息、系统数据库,包含两部分 COM+ Registration Database Windows Registry(HKEY CLASSES ROOT 通过一个对象层次结构管理COM+ Catalog COM+ Administration Library,支持脚本 组件服务snap-in管理工具就是该对象模型的一个功能缩 影 用户可以通过 COMAdminCatalog组件进入到对象模型中 ProgID: COMAdmin. COMAdmin Catalog
RSfg {|FG }~Y #$ %&'#$ ()*+,-*,# *^_uvRS$ & - 4 : .RSuv^_VW *&$`uv / $0 &1&$
COMAdmin Catalog组件使用举例 Dim Catalog As comadminCatalo Dim Applications As COMAdmin Catalog Collection Dim Components As coMAdmin CatalogCollection Dim AppObject As COMAdmin CatalogObject get the Applications collection and populate it Set Applications=Catalog. Get Collection("Applications") Applications. Populate get the correct application, My Application For Each AppObject in Applications If AppObject. Name="My Application" Then Exit For get the Components collection for My Application Set Components= Applications. GetCollection("Components", AppObject Key
%& '(& %& '(& %& & '(& %&)* '(& )* +,(- $. /0 1223 /!- +, 4' 5 ,)* 6)*/7&.2'28,5 7 +, &6 ' $ &./0 12 &24)*/93