+1 standardize it. +1 to return List containing AxisModules.

thanks,
dims

On 5/4/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote:
Hi Devs,

We've came across the following inconsistencies when calling
getEngagedModules() method, in
1. AxisOperation
2. AxisService
3. AxisServiceGroup

AxisOperation has,
public Collection getEngagedModules() {...} --> This will give an instance
of ArrayList which has AxisModule  objects.

AxisService has,
public Collection getEngagedModules() {...} --> This will give an instance
of ArrayList which has String objects.

                 String objects are the names of engaged
modules.

AxisServiceGroup has,
public ArrayList getEngagedModules() {...} --> This will give an instance of
ArrayList which has String objects.

                 String objects are the names of engaged
modules.

This will lead to difficulties when working with them.

IMHO  getEngagedModules() should be a method an abstract in AxisDescription;

public Collection getEngagedModules()

or

public List getEngagedModules(),

and should return either AxisModule or Name of the module as String. IMHO
AxisModule would be preferable. Thus, others that extend from AxisDecription
will be benefited too.

Please be kind enough to  express your thoughts on  prior.

Thank you

Saminda





--
Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org


--
Davanum Srinivas :: http://davanum.wordpress.com

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

Reply via email to