|
|
|
||||||
|
IceBox Determining Dependent Services
Hello,
I am deploying my Ice services (service1, service2, service3) within IceBox. I would like to determine within my implementation objects (extending from Ice.ObjectImpl) to determine the dependency of services within each other. Eg. When Service2 is being started ( callback start() ) it should ensure that service1 is already started and that when service3 is started it should detect that the services 1 and 2 are started. I understand that IceBox.LoadOrder will ensure that for me, however I would like to determine that programatically. Also, within each service I can keep a list of dependent services within endpoint and get ObjectPrx by doing stringToProxy() and then ice_ping(). However, for doing so I would have to pass end points aswell. I do not wish to do so. I just want to check in service2 if the service1 is previously loaded. Your help in this matter is appreciated. Thanks
__________________
Sameer Rele Global Enterprise Solutions Architect The Rohatyn Group 280 Park Avenue, 27th Floor - West New York, NY 10017 Tel : (212) 984 2946 sameer.rele@rohatyngroup.com |
|
||||||
|
Thank you for your prompt reply and appreciate your suggestions.
I am currently using shared communicator IceBox.UseSharedCommunicator.ServiceManager=1 Setting up a property at the service level and checking for the same is what I had incorporated. I was looking for a sleeker solution ![]() Thanks for the help. Regards
__________________
Sameer Rele Global Enterprise Solutions Architect The Rohatyn Group 280 Park Avenue, 27th Floor - West New York, NY 10017 Tel : (212) 984 2946 sameer.rele@rohatyngroup.com |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Does IceBox support services implemented in python | zephyr007 | Comments | 3 | 01-23-2008 09:22 AM |
| IceBox hosting java services in IceGrid | Sameerrele | Help Center | 5 | 08-21-2006 11:56 AM |
| Purify and IceBox services | xdm | Help Center | 4 | 06-07-2006 04:59 PM |
| Share endpoint between services in IceBox | rspivak | Help Center | 2 | 04-14-2006 07:18 AM |
| Sincronithing services | xdm | Help Center | 4 | 01-16-2004 02:59 PM |