I'd leave as <service id="Foo">, default the interface, default the builder, etc. Otherwise good idea.
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
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com