After configuring an interceptor or service component of the adapter, select one or multiple adapter services for the instance. The following sections describe the fields that are available to the adapter.
Additionally, after you configure adapter services, you must also import the metadata into the project file, either for the interceptor or the service instance.
This tab is available if you select the Adapter Services
folder in the project panel.
You must select the type of metadata that you want to import:
COM Type Library
Select this if you are importing metadata from an executable, a dynamic linked library, or a COM type library file.
.NET Assembly
Select this if you are importing metadata from a .NET assembly. For details on how the adapter interoperates with Microsoft .NET, see Appendix B, Interoperability with Microsoft .NET Components.
Enter the location of the COM type library (.tlb
), dynamic linked library (.dll
), or executable (.exe
) that contains the metadata, or click Browse to navigate to it.
Enter the location of the .NET assembly that contains the metadata, or click Browse to navigate to it.
For details on how the adapter interoperates with Microsoft .NET, see Appendix B, Interoperability with Microsoft .NET Components.
Enter the path for the .NET Framework installation, or click Browse to navigate to it.
For details on how the adapter interoperates with Microsoft .NET, see Appendix B, Interoperability with Microsoft .NET Components.
Click Import Metadata
to import the specified metadata into the project file.
In a typical development environment, if rebuilding the COM server keeps changing the GUIDs
, you must reimport the metadata into the project. Also, if the CLSIDs
or IIDs
are used explicitly, make the required changes. For example, use the Visual Basic development environment without turning on Binary Compatibility
for the project.
After you have imported the metadata, you may want to modify the extended properties for a class.
Select a class and click Resources>Edit Extended Properties. This displays the Edit Extended Properties dialog box, as shown below.
This dialog box contains a tree with the following entries:
CLSID
progID
defaultInterface
lifetime
The lifetime
extended property can have two values. singleton
(default), or singleCall
. If the value is set to singleton
, the instance is not released from memory after the first invocation. If the value is set to singleCall
, the instance is released after each method call and a new instance is created when a method invocation request comes for the same object.
These four extended entries define the COM coclass/default interface pair that corresponds to the TIBCO ActiveEnterprise class associated with the adapter service.
![]() |
When manually creating a TIBCO ActiveEnterprise class, you must add these extended properties. The property names are case sensitive.
|
TIBCO Adapter™ for COM User’s Guide Software Release 5.3, September 2005 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |