A colleague i work with created this class awhile ago, and we've come to the decision to rename it. However, none of us can really come up with a good name for it.
SimpleInstanceFactoryType is a abstract class that implements UserType. We have quite a few classes that extend this class. All classes that extend SimpleInstanceFactoryType have a returnedClass method which tells the abstract class what class to create a new instance for.
We have some database fields that are String representations of class names (com.company.package.ClassName). The SimpleInstanceFactoryType allows us to create a new instance of whichever class we specify in the database field.
Any suggetions on what we could name this?
|