Creating and using position service interfaces
To use the position service framework, your application must create an instance of the com.apama.position.PSInterface event. This event provides actions that let your application interact with the position service framework.
To create a position service interface object, execute the create() action defined in the com.apama.position.PSFactory event. The create() action parameters specify a reference to the main context, a position service configuration object, and the user-defined action to execute upon creation of the interface object. An instance of com.apama.position.PSInterface is returned in the callback.
Note: | In this release, the position service configuration object is not used. You must still specify it but it is reserved for future use. |
You use the PSInterface object to execute actions for
Reference information for these actions is in ApamaDoc format available on Windows by selecting Start > All Programs > Software AG > Tools > Apama Capital Markets n.n > Apama Capital Markets API ApamaDoc n.n or on both Windows and Linux, you can find ApamaDoc here: cmf_install_dir\doc\reference. Double-click index.html.
Code that provides an example of setting up the position service framework is in
Creating and subscribing to the open position tracker.