Brett McLaughlin [[EMAIL PROTECTED]] wrote:
> No.... you would either do....
> 
> TurbineServiceManager.getInstance()..... // do whatever else you want
> OR
> TurbineServiceManager.getInstance("somehost.com").... // do whatever else
> you want.
> 
> The getInstance() to a String would return an instance or
> XMLRpcServiceManager (or something like that) which of course you wouldn't
> know about as a client (casting, polymorhphism, whatever).
> 
How about something more like this:
 Vector params = new Vector();
 params.addElement("someParam");
 XmlRpcServiceManager xrsm = TurbineServiceManager.getInstance("somehost.com");
 Object result = xrsm.execute("doSomething", params);

or maybe:
 Vector params = new Vector();
 params.addElement("someParam");
 Object result = TurbineServiceManager.getInstance("somehost.com", 
        "doSomething", params);

> And yes, I don't have all this on paper, so I am "walking" through it with
> you and inventing as I go.  I am happy to help work on it with you... I also
> am working on Cocoon integration, though, so my time is stretched (ain't
> that always the case ;-) )
> 
I thank you for your patience. :)

-- 
Christopher Elkins


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to