![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
The TIBCO Designer software allows you to define configuration data (and optionally metadata) for your custom adapter. To create an adapter instance that holds the minimum configuration information, follow these steps:
2. Click Cancel when you are prompted for Save Project information. You can save the project later.For more information on answering the prompts given at startup, see the TIBCO Designer User’s Guide available through Help> Designer Help.
3. Click Palettes> General > General to display the general palette that contains the folder resource.
4. From the General palette, drag a folder to the design palette and name it HelloWorldAdapter. Click the Apply button.Figure 23 Create the HelloWorldAdapter
5. Click Palettes > Adapters > Adapter Resources to display the adapter resources palette.
6. In the upper left project panel, double-click the HelloWorldAdapter folder to open it, then drag the Generic Adapter Configuration resource into the design panel.
7. In the Instance Name field, type defaultInstance.
8. In the SDK AppName field, type helloWorld. This is the short name of the adapter that is used in the source code. Click Apply.
This example does not configure any services, sessions, or endpoints. They are discussed in the second example, Custom Adapter Example: zapadapter.
9. Click Project > Save to save the configuration.
10. Click Project > Export Full Project. In the dialog box, click the Local Repository tab, then provide the following information:
a. In the Project Name field, type HelloWorldRepoOne.
b.
c. Click OK to save the project to the project repository.
11. Click Project > Exit.A sample copy of the resulting repository can be found in your installation area under the examples directory. For example, on Windows: SDK_HOME\examples\helloWorld.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |