[ 
http://issues.apache.org/jira/browse/HIVEMIND-121?page=comments#action_64846 ]
     
Knut Wannheden commented on HIVEMIND-121:
-----------------------------------------

I'm wondering if the lightweight initialization should instead be using a 
different (mutually exclusive) attribute than "class".  Maybe "spec" or 
something.  Or alternatively a separate attribute just for this initialization 
data: params="verbose,timeout=5000".

Some things to think about:

 - How should conflicts be handled? E.g. a nested <set> conflicting with the 
lightweight initializer.
 - Should the lightweight initializer support object providers? E.g. 
"foo=service:foo";?
 - Should these ideas also be extended to <create-instance>?

> BuilderFactory should support lightweight initialization
> --------------------------------------------------------
>
>          Key: HIVEMIND-121
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-121
>      Project: HiveMind
>         Type: Improvement
>   Components: framework
>     Versions: 1.1
>     Reporter: Howard M. Lewis Ship
>      Fix For: 1.1

>
> It would be nice if the hivmind.BuilderFactory supported light-weight 
> initialization, i.e.
> <invoke-factory>
>   <construct class="com.example.MyServiceImpl,verbose,timeout=5000"> ... 
> </construct>
> </invoke-factory>
> Properties could be set after the service implementation is instantiated and 
> properties wired (and autowired) normally.
> Less XML is good.

-- 
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