OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | carol List | March 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [carol] Carol configuration for handling all features request



Carol should handle only a default config when running in multi-config mode on client case. (on server, it will call each configuration) I think that this is to the developer to explicitely set the config. Maybe that it is possible without explicitely calls but I don't see how for now.



I was thinking that since it is possible to, for example, propagate transactionall contexts, then at a certain point some carol code is hit anyway.

If this code is hit before or after the last point where it is possible to 
change configuration is beyond my current carol knowledge.
But interceptors are protocol-independent, no ?

If that is possible, it would be super-easy for the client, since carol will 
take care of doing everything right.



Yes, some carol code is hit anyway on interceptors
But when user do in its code : new InitialContext().lookup("dummyTest"), we have to choose the config/protocol to use (is it jrmp on url1, jrmp on url2, iiop, etc)
For now, it uses the first protocol of carol.protocols property.
The interceptors are propagated on the specific protocol but how to determine the protocol for the lookup ? for me it's impossible without an explicit call to set the current config which will be used for the lookup.
When the object is retrieved, all call on this object will use the right protocol but before retrieving it, we didn't know which one choose.


Florent.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.