Greg Dritschler wrote:
Sebastien,

The UtilitityExtensionPoint looks good. You mentioned the ProxyFactory as an example of a utility but I don't see that it is being registered with the UtilityExtensionPoint. Could you register it?

The reason I'm interested is because of this bit of code is RequestContextObjectFactory:

    public RequestContext getInstance() throws ObjectCreationException {
        if (factory != null) {
            return factory.createRequestContext();
        } else {
            return new RequestContextImpl(proxyFactory);
        }
    }

If the RequestContextFactory extension point is active, then it is called to create the request context but it isn't passed the proxyFactory as the default implementation is. Making the proxy factory available in the utility registry would solve this.

Greg


Yes, there's about 5 or 6 utilities that need to be registered like that. I'll do a pass at that in the next few days.

--
Jean-Sebastien

Reply via email to