Open topic with navigation

TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit 6.3.1

# Using Shared Resources

TIBCO ActiveMatrix BusinessWorks Plug-in activities can refer to shared resources. These resources provide centralized configuration and functionality. An activity contains a resource selector field that links the activity with an existing shared resource.

At runtime, the activity can get access to the resource and execute business logic irrespective of how a resource is configured. If a resource is modified, the new values will be in effect in an activity that is linked to that resource instance.

## Code Generation

Using TIBCO ActiveMatrix BusinessWorks Plug-in Development Kit, you can establish the links to the shared resources in custom activity. When you define attributes of your activity, you can create an attribute with Property Field from the Control Type list. Select a type of a resource from the Values list. The available standard BusinessWorks resources are:

HTTP Client, JDBC Connection, JMS Connection, TCP Connection, FTL Realm Server Connection, SSL Client Configuration, Java Global Instance

When a PropertyField is added, the generated code will be affected in several ways:

- A resource selector will be added at Design time.

- Generated plug-ins will contain appropriate dependencies in their MANIFEST.MF files.
- Runtime code will be generated in such a way that a resource instance is injected into the activity and object instances that are needed to carry out a resource-related action, will be added. Business logic code can utilize the resource.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit
Subtopics

Copyright © 2014-2022. TIBCO Software Inc. All Rights Reserved.