Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geclipse-dev] Executable in jsdl description

Hello Romain!

Romain pisze:

I have another question: is there a reason why this method of the class GridJob doesn't takes a IGridJobID instead of a GridJobID?

In fact GridJob can use only GridJobID as implementation of IGridJobID.

But of course it's internal assumption of GridJob class, which shouldn't be exposed. So I changed GridJob#create() to use IGridJobID.

You don't have to make this dirty casting. Just pass to create() what you get from IGridJobService#submitJob()

Thanks for that hint, which cleans up our source code :-)

--
Regards,
Mariusz Wojtysiak


Back to the top