James, That sounds like a useful shorthand notation. I suppose the service model would also just default to "singleton".
HiveMind could also check for an *Impl class in the same package. And for services where the interface is a class then it's of course even simpler... --knut On 7/30/06, James Carman <[EMAIL PROTECTED]> wrote:
All, How about this? You can define a service point with nothing but the interface! Consider this example: <service interface="com.myco.service.MyService" /> First, HiveMind will default the service point id to "MyService." Then, HiveMind will look for a default implementation class called "com.myco.service.impl.MyServiceImpl" and try to use BuilderFactory to build a default, autowired instance. I've found that this is my typical scenario. This way, you can cut out a LOT of XML. What do you think? James
