On Mon, 17 Dec 2001 09:50, Jose Alberto Fernandez wrote:
> From: "Peter Donald" <[EMAIL PROTECTED]>
>
> > On Mon, 17 Dec 2001 01:30, Jose Alberto Fernandez wrote:
> > > Not that I following too close what you are doing in myrmidon, but
> > > wouldn't Task.getName() be associated in peoples minds with
> > > Task.setName() ? The later being the method for processing an attribute
> > > named "name".
> >
> > Neither getName() nor setName() will be present in the end Task API (Nor
> > will there be setTaskType/getTaskType()). Names are something that a
> > container manages and thus the only way for a task to even know about
> > them is to grab it from the TaskContext.
>
> I am talking about the task's methods, like:
>
>     <property name="xyz" value="foo" />
>
> this is provided by a task having methods:
>
>     public void setName(String x);
>     public void setValue(String y);
>
> unless you are changing that.
>
> As I said, I am not following too close, but is your getName() part of the
> interface implemented by tasks? This is what I was trying to point out.

Ahh - now I get you. Well as it stands I don't think we will be allowing any 
objects to actually reference the task object itself. They will either be 
operating through a the proxy interface (itf they are a "foreign" task) or 
acting via a simplified facade.

-- 
Cheers,

Pete

-----------------------------------------------
   "You can't depend on your eyes when your 
   imagination is out of focus." -Mark Twain 
-----------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to