[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2055) Add Set<String> EventListeners.getEventTypes() method and public constants.

Josh Moore (JIRA) noreply at atlassian.com
Wed Sep 6 14:20:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2055?page=comments#action_24340 ] 

Josh Moore commented on HHH-2055:
---------------------------------

Gladly. Good to know there aren't any objections.

> Add Set<String> EventListeners.getEventTypes() method and public constants.
> ---------------------------------------------------------------------------
>
>          Key: HHH-2055
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2055
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Versions: 3.2.0.cr4
>     Reporter: Josh Moore
>     Priority: Trivial

>
>
> Since the EventListeners.getListenerClassFor(String type) takes string types, it would be useful to be able to get these strings, and perhaps even to them available as public final static String constants. Simplifies programmatic configuration, and allows for easily detecting if a new event listener type has been added or removed.

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




More information about the hibernate-issues mailing list