shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Bunting (JIRA)" <>
Subject [jira] [Commented] (SHIRO-364) Add "bean listener" feature to Ini factories
Date Wed, 20 Jun 2012 04:04:42 GMT


Jared Bunting commented on SHIRO-364:

So far, I have implemented the majority of this and am committing what I have.  One thing
to note is that I send an instantiation notification for every bean in the map, including
those passed in as "defaults" (if they are not overridden).  Same for "notifyPropertiesSet",
it is invoked on every bean in the map, whether it specifically had any properties set or

I have not implemented "notifyPropertySet" simply because I'm not sure how to keep it consistent
with the behavior that I just described.

Anyways, comments welcome.
> Add "bean listener" feature to Ini factories
> --------------------------------------------
>                 Key: SHIRO-364
>                 URL:
>             Project: Shiro
>          Issue Type: New Feature
>            Reporter: Jared Bunting
>            Assignee: Jared Bunting
>             Fix For: 1.3.0
> The ini factory/configuration  has been described as a poor man's dependency injection.
 Even though other DI mechanisms are often used when more power and configurability is required,
the ini factory is still quite popular.  Adding the ability to register "bean listeners" that
are notified of the beans that get created would allow us to add some more complex functionality
to shiro, decouple it from our core classes, and support it in all of our supported DI solutions.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message