You could log a jira too:
https://issues.jboss.org/browse/RESTEASY
On 3/9/12 2:59 PM, Jim Stafford wrote:
> I have encountered an issue with the resteasy-spring module that
> relates to RESTEASY-511. I have attached a git patch file that
> contains a test case to demonstrate the problem (spring and rest not
> sharing instances) and fixes that work with both my test case and the
> other test cases in that module. Could someone let me know if this is
> the right place to post patches and if there is anything else I need
> to do to get the issue resolved in a future baseline?
>
> thanks,
> jim
>
> Besides the testcase, the following represents the primary changes
>
> ---
> a/resteasy-spring/src/main/java/org/jboss/resteasy/plugins/spring/SpringBeanProcessor.java
> +++
> b/resteasy-spring/src/main/java/org/jboss/resteasy/plugins/spring/SpringBeanProcessor.java
> @@ -248,7 +248,8 @@ public class SpringBeanProcessor implements
> BeanFactoryPostProcessor, SmartAppli
> continue;
>
> BeanDefinition beanDef = beanFactory.getBeanDefinition(name);
> - if (beanDef.getBeanClassName() == null || beanDef.isAbstract())
> + if ((beanDef.getBeanClassName() == null&&
> beanDef.getFactoryBeanName() == null)
> + || beanDef.isAbstract())
> continue;
>
> processBean(beanFactory, dependsOnProviders, name, beanDef);
> @@ -395,7 +396,7 @@ public class SpringBeanProcessor implements
> BeanFactoryPostProcessor, SmartAppli
> }
> }
>
> - for (Method method :
> getBeanClass(factoryClassName).getDeclaredMethods())
> + for (Method method : getBeanClass(factoryClassName).getMethods())
> {
> if (method.getName().equals(factoryMethodName))
> {
>
>
>
> ------------------------------------------------------------------------------
> Virtualization& Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
>
>
> _______________________________________________
> Resteasy-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Resteasy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/resteasy-users