数据源类图
2021-09-08 19:52:28 0 举报
图表模块图 工厂
作者其他创作
大纲/内容
Connection连接池SqlServer
+SqlServerImplementation():Object重写接口方法
Connection连接池Mysql
+MysqlImplementation():Object重写接口方法
implementation
MysqlCreateFactory
+getMysqlConnectionInterface():MysqlConnectionInterface
继承抽象接口
创建工厂
FactoryProducer
+getFactory():AbstarctCreateFactory
SqlServerConnectionInterface实现接口
+SqlServerImplementation():Object
OracleCreateFactory
+getOracleConnectionInterface():OracleConnectionInterface
MysqlConnectionInterface实现接口
+MysqlImplementation():Object
OracleConnectionInterface实现接口
+OracleImplementation():Object
Connection连接池Oracle
+OracleImplementation():Object重写接口方法
Interface
SqlServerCreateFactory
+getSqlServerConnectionInterface():SqlServerConnectionInterface
创建一个工厂创造器/生成器类,通过传递形状或颜色信息来获取工厂。
CallGraph
获取数据源对象并调用它相应的方法
AbstarctCreateFactory
+getMysqlConnectionInterface():MysqlConnectionInterface+getOracleConnectionInterface():OracleConnectionInterface+getSqlServerConnectionInterface():SqlServerConnectionInterface
0 条评论
下一页