BLR-CustomServiceBrokers幻灯片.pptxVIP

  • 28
  • 0
  • 约6千字
  • 约 17页
  • 2018-02-22 发布于天津
  • 举报
Custom Service BrokersThis learning module describes how to extend the K2 platform with custom service brokers, which are used to expose back-end systems as K2 SmartObjects400.BLRVersion:1 Revision:1Duration: 2.5 hoursModule prerequisites and target audienceTarget Audience.NET DevelopersPrerequisite knowledgeCoding with C#.NETCreating class libraries, inheriting and extending base classes, implementing interfaces, using attribute descriptorsK2 SmartObjects Intermediate (200.PER module)CompatibilityK2 blackpearl V 4.5 update 1420 or higherReview: SmartObject architectureUnderstanding SmartObject terminologyService ObjectsAre logical (XML) representations of the entities in the providerContain no processing logic in themselvesOnly expose Properties and MethodsProperty types and method types are defined as SmartObject typesService InstanceIs an instance of a Service Type with configuration values (e.g. server name, database name, web service URL etc.)Configuration includes things like provider settings, internal configuration settings and security settingsService TypeOnly registers the Service Broker in the K2 environment Makes the broker available for administrators to register a Service InstanceSmartObjectsRepresent one or more Service Objects as a logical business entityMay reference single Service Objects or combine multiple Service ObjectsAre surfaced to the design environments for designers to use in their solutionsDesigners and Developers create SmartObjects by referencing Service Object methods and mapping Service Object propertiesConsumersCall SmartObject methods at RuntimeIncludes workflows, User Interfaces, Reports and custom codeService BrokerIs a dll file that inherits and implements the SDK’s ServiceAssemblyBase Contains the logic to discover/describe a particular providerTranslates the provider’s entities into Service Objects and vice-versaContains all logic to execute methodsContains logic to handle security Review: SmartObject Security = Authenticatio

文档评论(0)

1亿VIP精品文档

相关文档