[ 
https://issues.apache.org/jira/browse/DIRMINA-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535207
 ] 

Trustin Lee commented on DIRMINA-455:
-------------------------------------

I like the main idea, but I'd like to know more detail.  It seems like the 
XBean web site doesn't provide any intuitive information on how exactly it is 
integrated with other IoC frameworks.
I also don't have much idea on what classes should I add the XBean tag.  Should 
I add the tag to all public classes?  What about public abstract classes?  What 
about interfaces?

I also found that the XBean tags are used to generate XML schema files 
automatically.  Isn't it just for automatic generation?  If there's a tool for 
generating the schema files, it should be able to be done without adding tags, 
probably some wildcard filters in the generator settings. That is, what should 
be changed is not MINA but the generator tool.

Moreover, adding XBean tag to every new class is pain and error prone, so I 
want to avoid adding any extra tags to MINA code for a certain framework, 
unless it is de facto standard.

If there's no further explanation of accountability of adding the XBean tags 
nor objection within this week, I will remove the tags currently checked in.





> Add XBean tag to sources to enable XBean based configuration
> ------------------------------------------------------------
>
>                 Key: DIRMINA-455
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-455
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core, Filter
>            Reporter: Alex Karasulu
>            Assignee: Alex Karasulu
>             Fix For: 1.1.4, 1.0.7
>
>
> The following tag when added to the javadocs enables XBean based 
> configuration of the MINA components with absolutely no effect on the 
> operation of MINA:
>  * @org.apache.xbean.XBean
> Adding this will enable MINA users that use the Spring integration classes to 
> optionally make their spring application configurations much more succinct.  
> For more information please see http://geronimo.apache.org/xbean/.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to