Description
The ServicePropertyFactory fails if the
serices 'PropertyHolder', 'Property' and 'PropertyUser'
are togetheer in one module.
If the 'PropertyHolder' defined in a separate module, the
the following error occurs (src of example will be uploaded):
org.apache.hivemind.ApplicationRuntimeException: Unable to construct service serviceproperty.test2.Property: Unable to lookup $ThreadedProxy_feb4d1ae00_42: $ThreadedProxy_feb4d1ae00_42
at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:156)
at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:130)
at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:69)
at $InnerProxy_feb4d1ae0a_44._service($InnerProxy_feb4d1ae0a_44.java)
at $InnerProxy_feb4d1ae0a_44.getValue($InnerProxy_feb4d1ae0a_44.java)
at $SingletonProxy_feb4d1ae0a_43.getValue($SingletonProxy_feb4d1ae0a_43.java)
at PropertyUserImpl.workOnProperty(PropertyUserImpl.java:15)
at $InnerProxy_feb4d1adec_39.workOnProperty($InnerProxy_feb4d1adec_39.java)
at $SingletonProxy_feb4d1add8_38.workOnProperty($SingletonProxy_feb4d1add8_38.java)
at PropertyTest.testTwoModules(PropertyTest.java:19)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)