I have services which use services, which use services...

child-services are set in the constructor for the user-class, something like this:

<service-point ...A...>
        <invoke-factory>
                <create class="some.impl.class>
                        <service>someOtherService</service>
                </create>
        </invoke-factory>
</service-point>

<service-point ... someOtherservice...>
        <invoke-factory>
                <create class="some.impl2.class">
                        <service>someBservice</service>
                </create>
        </invoke-factory>
</service-point>

someBservice is a servicepoint with a concrete class that implements the interface, and without any other services set in the constructor. (the nesting stops here).


some.impl.class extends a class which has a constructor that takes someOtherService as argument.


all factory models are declared as pooled.




but I get this error:


org.apache.hivemind.ApplicationRuntimeException: Unable to create class $PooledProxy_1028cb74aa9_20: $PooledProxy_1028cb74aa9_20 (Repeative method name/signature) at org.apache.hivemind.service.impl.CtClassSource.createClass(CtClassSource .java:83) at org.apache.hivemind.service.impl.ClassFabImpl.createClass(ClassFabImpl.j ava:170) at org.apache.hivemind.impl.ProxyUtils.createDelegatingProxy(ProxyUtils.jav a:82) at org.apache.hivemind.impl.servicemodel.PooledServiceModel.constructServic eProxy(PooledServiceModel.java:146) at org.apache.hivemind.impl.servicemodel.PooledServiceModel.getService(Pool edServiceModel.java:126) at Main.main(Main.java:107) Exception in thread "main"



A bug??
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to