Class Diagram
2015-09-29 15:03:09 4 举报
类图(Class Diagram)是面向对象编程中一种常用的静态结构图,它用于描述系统中的类、接口、实例等之间的结构和关系。类图中展示了类的属性和方法,以及它们之间的关系(如继承、实现、关联、聚合等)。类图的主要目的是帮助开发者更好地理解系统的组成部分,以及它们之间的交互方式。通过类图,我们可以更容易地识别潜在的设计问题,优化代码结构,提高系统的可维护性和可扩展性。总之,类图是一种强大的工具,有助于提高软件开发的效率和质量。
作者其他创作
大纲/内容
UnifyeAnalyzeInvokeService
+ EventAnalyzeDomainService eventAnalyzeDomainService+ InternalRuleEventDAO internalRuleEventDAO- attribute3:type
+ invoke(调用domain中的服务)+ before()
RulecenterEventServiceImpl
- SecurityConfigService securityConfigService
- unifyedEventAnalyze()
DroolsRepositoryFactoryBean
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
PunishDomainServiceImpl
+ PunishServiceClient punishServiceClient
+ executePunish()+ createPunishOrder
NotifierBus
+ Dispacher dispacher(new dispatcher)
+ checkEvent()- dispatcher()(运行subscriberWrapper中注册的方法,向所有订阅者分发事件)- register()
现在注注册了new LogStatement()new PreparedStatement()new ValidateStatement()
IbatisInternalRuleEventDAO
+queryInternalRuleEventByEventNameAndEventContext()+ insertInternalRuleEvent()
ActivityExecutorContianer
+ NotifierBus notifierBus+ DBPlugin dbPlugin+ ExceptionMonitor monitor+ DomainFactory domainFactory+ PlatformTransactionManager transactionManager+ ThreadPoolTaskExecutor threadPoolTaskExecutor+ RegistryCodeVerify registryCodeVerify
+ afterPropertiesSet()+ registerListener()+ accept()+ registerInvockService()
PunishDomainService
+ executePunish()
RuleCenterEvent
+ String eventId+ EventNameEnum eventName+ EventTypeEnum eventType
+ String bankCardNum+ String bankAccountName+ String userId
RulecenterServiceBase
- accept()- methodB()
- attributeA- attributeB
EventAnalyzeDomainServiceImpl
+ PunishDomainService punishDomainService+ DroolsProvider droolsProvider+ ActivityExecutorContianer activityExecutorContianer+ AnalyzeResultProcessTool analyzeResultProcessTool
DroolsElement
+ EventRequest request+ Description description+ long version+ KnowledgeBase knowledgeBase
EventRequest
DroolsProvider
+ DroolsEngine droolsEngine+ DroolsRepository ruleRepository+ DroolsTemplate ruleTemplate
+ newStatelessSession()- operation2(params)- operation3()
InvokeService
+ invoke(调用domain中的服务)+ before()+ after()+ end()
DroolsEngine
+ init()+ loadDroolsElement()+ createRuleElement()
0 条评论
下一页