![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
This section discusses methods that are predefined as part of the SDK. These methods facilitate monitoring and debugging a custom adapter.
To understand the following sections, you need to be familiar with some basic concepts and terms used by TIBCO Hawk:
• The Hawk Application Management Interface (AMI) is an agreement on procedures and TIBCO Rendezvous message formats used to instrument an application. Selected methods of an application (in this case, a custom adapter) are made accessible to a TIBCO Hawk agent for the purpose of monitoring and managing the application.
• A microagent is used by TIBCO Hawk to collect information and carry out tasks, usually relating to one type of managed resource or managed application. On the TIBCO Hawk display, each microagent is one menu item. TIBCO Hawk end users select first the microagent, then the desired AMI method within that microagent.The SDK creates two microagents. The associated sets of methods can then be used to monitor adapters.
• COM.TIBCO.ADAPTER. This microagent allows you to perform queries on all running adapters, regardless of their class/application.If you choose this item on the TIBCO Hawk display and invoke one of the associated AMI methods, the corresponding method is invoked in all running adapters.Generally, COM.TIBCO.ADAPTER:n and COM.TIBCO.ADAPTER.xyz:n behave the same except if you invoke a method on COM.TIBCO.ADAPTER:n through network query in TIBCO Hawk display, COM.TIBCO.ADAPTER:n causes it to perform queries on all running adapters.
• COM.TIBCO.ADAPTER.xyz (where xyz is the name of a class of adapters and could stands for the source or target software package with which the adapter is interfacing). This microagent allows performing queries on one class of adapter.If you choose this item on the TIBCO Hawk display and invoke one of the associated AMI methods, the corresponding method is invoked only in instances of the xyz adapter.By default, each instance of MApp has its microagent. Adapters can override this behavior in the Monitoring tab of the TIBCO Designer software.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |