[ http://issues.apache.org/jira/browse/BEANUTILS-184?page=all ]
Henri Yandell updated BEANUTILS-184: ------------------------------------ Bugzilla Id: (was: 18087) Fix Version/s: LATER THAN 1.8.0 > [beanutils] Add BeanFactory class for dynamic factories. > -------------------------------------------------------- > > Key: BEANUTILS-184 > URL: http://issues.apache.org/jira/browse/BEANUTILS-184 > Project: Commons BeanUtils > Issue Type: Improvement > Environment: Operating System: other > Platform: Other > Reporter: David Graham > Priority: Minor > Fix For: LATER THAN 1.8.0 > > Attachments: FactoryException.java, ObjectFactory.java, > ObjectFactoryTest.java > > > I have developed a utility class called ObjectFactory that allows you to > configure a dynamic factory. You provide it a Map of logical names to fully > qualified class names and it will create objects of that type for that name. > Example Usage: > ObjectFactory factory = new ObjectFactory(myMap); > try{ > Set set = (Set)factory.create("my name for set"); > } catch (FactoryException e) {// error handling} > BeanUtils might be a good home for this class with a name change to > BeanFactory. > I am willing to support this and supporting classes if adopted into > BeanUtils. -- 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]