a problem about servant locator
When dynamiclly creating many proxies, evictor with servant locator is a good idea. but how to pass the parameters to the method ServantLocator::locate(Current , LocalObject) to construct a new servant?
I find that the method ObjectAdapter::createProxy(Identity) doesn't invoke the locate(..) method, utill the xxHelper::checkCast(ObjectPrx, Context) is called.OR the method xxHelper::checkCast(..) invokes the locate method.
Using the paramter context in xxHelper::checkCast(ObjectPrx, Context), I passed parameters to ServantLocator::locate(Current , LocalObject) sucessfully, but I don't know whether it is a good idea?
Yan Bingheng:a student of Beijing University of Aeronautics & Astronautics
I'm learning ice now, and will try some projects later!