[ http://issues.apache.org/jira/browse/HIVEMIND-115?page=all ] James Carman closed HIVEMIND-115: ---------------------------------
> Bean services cannot implement RegistryShutdownListener > ------------------------------------------------------- > > Key: HIVEMIND-115 > URL: http://issues.apache.org/jira/browse/HIVEMIND-115 > Project: HiveMind > Type: Bug > Components: framework > Versions: 1.1 > Reporter: James Carman > Assignee: James Carman > Fix For: 1.1 > > When a bean service's implementation class implements > RegistryShutdownListener, the following exception occurs... > org.apache.hivemind.ApplicationRuntimeException: Attempt to redefine method > void registryDidShutdown() of class > $$RegistryShutdownBean_103a566febf_103a566fec0. > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:130) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(SingletonServiceModel.java:57) > at > org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:209) > at > org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:222) > at > org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:242) > at > org.apache.hivemind.impl.RegistryImpl.getService(RegistryImpl.java:71) > at > org.apache.hivemind.impl.servicemodel.TestRegistryShutdownListenerServices.testBeanImplementingRegistryShutdownListener(TestRegistryShutdownListenerServices.java:58) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > 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:421) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186) > Caused by: org.apache.hivemind.ApplicationRuntimeException: Attempt to > redefine method void registryDidShutdown() of class > $$RegistryShutdownBean_103a566febf_103a566fec0. > at > org.apache.hivemind.service.impl.ClassFabImpl.addMethod(ClassFabImpl.java:271) > at > org.apache.hivemind.impl.ProxyBuilder.addServiceMethods(ProxyBuilder.java:140) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxyClass(SingletonServiceModel.java:183) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:103) > ... 21 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
