I am trying to get instance of mosaicApp (IApplication) in non Tile Object but it seems that there isn't any API to do that.
Any help will be appricated.
Yes that is possible for Tile component but what if my object is not a tile component. I dont want to display component on UI so i am not defining it as Tile.
Having mosaicApp kind of variable in non Tile component will help in creating delegates, Front Controllers etc.
It sounds like you want to use a service (no UI) for your applications. Have you looked at the new services feature in Mosaic 9.5 (http://help.adobe.com/en_US/LiveCycleMosaic/9.0/createTile/WSe851854fd 1e0856a14b90874128fe1df2eb-8000.html). There are is also a sample for the implementation of services: http://help.adobe.com/en_US/livecycle/9.0/samples/Mosaic_StockMosaicSe rvice.html
Group Product Manager
In a way i want to have service which listents to message from other tiles. For service to listen to message i need have mosaicApp variable using i can execute following code.
Can i do that without inheriting Tile Class in service class.
I have resumed my work of exploring Mosaic as a tool for Enterprise RIA.So want to follow-up on this forum post.
Basically I want Moasic service to listen to Mosaic message and react to it.
Let me know how can i get this thing noticed by Adobe Product Manager for Mosaic. I have posted this on idea.adobe.com
As Don mentioned, in the upcoming release of Mosaic the service objects have access to the framework's context so it can send and receive messages.
If must use Mosaic 9.5 then you can still pass the context object into the service from a tile, but the timing becomes tricky. I wrote a blog article with one solution (not saying its the only, or the best) that you may want to look at: