アダプターをインストールした後で、ビジネス・オブジェクトを作成する必要があります。 構成されるデータ・ハンドラーについての要件を除いては、ビジネス・オブジェクトの構造に関する要件はありません。コネクターが処理するビジネス・オブジェクトは、InterChange Server によって許可されている任意の名前を持つことができます。
アダプターはキューからメッセージを検索し、(メタオブジェクトによって定義されている) ビジネス・オブジェクトにメッセージの内容を取り込もうとします。厳密に言えば、コネクターはビジネス・オブジェクトの構造を制御したり、ビジネス・オブジェクトの構造に影響を及ぼすことはありません。それらの機能は、コネクターのデータ・ハンドラーの要件と、メタオブジェクト定義によって提供されます。実際には、ビジネス・オブジェクト・レベルのアプリケーション情報はありません。より正確に言えば、ビジネス・オブジェクトを検索して渡すときのコネクターの主な役割は、メッセージをビジネス・オブジェクトに変換する (およびその逆の) 処理中に発生するエラーをモニターすることです。
このセクションでは、Name-Value データ・ハンドラーを持つコネクターのビジネス・オブジェクト・プロパティーのサンプルを示します。
[ReposCopy] Version = 3.0.0 [End] [BusinessObjectDefinition] Name = Sample_WebSphereMQ_LegacyContact Version = 1.0.0 [Attribute] Name = ContactId Type = String MaxLength = 255 IsKey = true IsForeignKey = false IsRequired = true DefaultValue = 1001 IsRequiredServerBound = false [End] [Attribute] Name = FirstName Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = Jim IsRequiredServerBound = false [End] [Attribute] Name = LastName Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = Smith IsRequiredServerBound = false [End] [Attribute] Name = OfficePhoneArea Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = 650 IsRequiredServerBound = false [End] [Attribute] Name = OfficePhone Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = 555-1234 IsRequiredServerBound = false [End] [Attribute] Name = OfficePhoneExt Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = x100 IsRequiredServerBound = false [End] [Attribute] Name = FaxArea Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = 650 IsRequiredServerBound = false [End] [Attribute] Name = FaxPhone Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = 555-1235 IsRequiredServerBound = false [End] [Attribute] Name = Department Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = Engineering IsRequiredServerBound = false [End] [Attribute] Name = Title Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = Software Engineer IsRequiredServerBound = false [End] [Attribute] Name = EmailAddr Type = String MaxLength = 255 IsKey = false IsForeignKey = false IsRequired = false DefaultValue = jim.smith@crossworlds.com IsRequiredServerBound = false [End] [Attribute] Name = ObjectEventId Type = String MaxLength = 0 IsKey = false IsForeignKey = false IsRequired = false IsRequiredServerBound = false [End] [Verb] Name = Create [End] [Verb] Name = Delete [End] [Verb] Name = Retrieve [End] [Verb] Name = Update [End] [End]