[ http://issues.apache.org/jira/browse/HIVEMIND-139?page=all ]
     
Knut Wannheden closed HIVEMIND-139:
-----------------------------------

    Resolution: Duplicate

This issue duplicates HIVEMIND-84.

> the service configuration may be return a real ojbect instead of  list ?
> ------------------------------------------------------------------------
>
>          Key: HIVEMIND-139
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-139
>      Project: HiveMind
>         Type: Improvement
>   Components: framework
>     Versions: 1.1
>  Environment: hivemind-1.1-beta-2
>     Reporter: wu zhi hui

>
> I am a developer (or team leader may be ) of a j2ee company of china , we use 
> apache avolon framework as our java container  
>  framework in the past years, now we want to change to hivemind, I'm trying 
> your hivemind-1.1-beta-2, I think it's better than spring and it's soul 
> coming from avolon, the greate framework I appreciated . here I have some 
> idea (may be it's wrong) about the hivemind's  service configuration, I found 
> that I define a configuration schema that return only one java object , but 
> the contribution always return a List contains that java object, so I have to 
> define the service method to "public void setConfig(Collection config) " 
> instead of "public void setMyObject(MyObject ojb)" , this cause my service 
> look like ugly and confusing , may be you think  that in most time the 
> service configuration is complex so return a list may be the best choise, but 
> I think a simple java ojbect as a configuration  may be simple and commonly  
> to be used becouse define a complex java oject using "rules" is much more 
> defficult than using "conversion".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to