Skip to content

Commit

Permalink
Merge pull request #578 from wilkinsona/non-public-spring-beans
Browse files Browse the repository at this point in the history
SpringBeanProcessor: cope with non-public @bean methods
  • Loading branch information
patriot1burke committed Oct 23, 2014
2 parents 1578aaa + a29ea88 commit 1841a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -425,7 +425,7 @@ private static Class<?> getBeanClass(String name, BeanDefinition beanDef,
}
}

for (Method method : getBeanClass(factoryClassName).getMethods())
for (Method method : getBeanClass(factoryClassName).getDeclaredMethods())
{
if (method.getName().equals(factoryMethodName))
{
Expand Down
Expand Up @@ -21,7 +21,7 @@ public ResteasyRegistration prototypeRegistration()
}

@Bean
public Counter singletonCounter()
Counter singletonCounter()
{
return new Counter();
}
Expand Down

0 comments on commit 1841a3b

Please sign in to comment.