tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Sebastien Delfino <jsdelf...@apache.org>
Subject Re: Issue faced in creating a subset of Tuscany runtime using domain-management sample
Date Tue, 01 Jul 2008 15:28:14 GMT
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

Mime
View raw message