A good name for this would be "prototype", because that's what Spring uses for the same concept.
Look at how ThreadedServiceModel works. You basically need a proxy that obtains a fresh instance from the ServiceModel for each method invocation. On Mon, 10 Jan 2005 02:04:33 -0800, Liebig, Stefan <[EMAIL PROTECTED]> wrote: > > I tried to create a �new instance� service model. This service model should > create for each service request a new instance. But as I found out this is > not possible because ServicePointImpl �caches� the service once created. > > My question - independent on how usefull a �new instance� service model might > be - is: > Shouldn�t this caching not be part of the specific service model? I think the > current solution limits the usage of service models. > > Stefan > > email: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
