Re: register proxy without target

2009-07-02 Thread José F. Romaniello
Craig; many thank. I will write a post about how to register these types of components in appreciation for the project and put the link right in this thread. Also, I will give you a hand because you are the HOSTILE BLOGGER. hehehe Craig Neuwirt escribió: Ok, you can now do the former on trunk

Re: register proxy without target

2009-07-02 Thread Craig Neuwirt
ROFL On Thu, Jul 2, 2009 at 10:50 AM, José F. Romaniello jfromanie...@gmail.com wrote: Craig; many thank. I will write a post about how to register these types of components in appreciation for the project and put the link right in this thread. Also, I will give you a hand because you are

Re: register proxy without target

2009-07-01 Thread Tuna Toksoz
Does he have to enable FactorySupportFacility or is it already activated when the container is initiated? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Jul 1, 2009 at 10:31 PM, José F.

Re: register proxy without target

2009-07-01 Thread José F. Romaniello
Ouch. Solved, adding the facility work well with the second approach. thank you very much. Tuna Toksoz escribió: Does he have to enable FactorySupportFacility or is it already activated when the container is initiated? Tuna Toksöz Eternal sunshine of the open source mind.

Re: register proxy without target

2009-07-01 Thread Craig Neuwirt
I suspect you need to indicate that a target should be ommitted. This needs to be done on the ComponentModel via var options = ProxyUtil.ObtainProxyOptions(model, true); options.OmitTarget = true Unfortunately, this is not well exposed through the registration interface, but I'll see if I can

Re: register proxy without target

2009-07-01 Thread José F. Romaniello
will be great! For the other hand, calling UsingFactoryMethod without adding the FactorySupportFacility should throw an exception somewhere? thank you again Craig and Tuna. Craig Neuwirt escribió: I suspect you need to indicate that a target should be ommitted. This needs to be done on

Re: register proxy without target

2009-07-01 Thread Tuna Toksoz
Yes, it is a good idea to notify. Or we can automatically enable the factory facility if there is a way. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Jul 1, 2009 at 11:03 PM, José F.