}
}
private BeanMetadata generateBeanMetadata(Class<?> beanClass)
{
BeanType beanType = BeanType.state;
String name = beanClass.getName();
// If any of the methods are annotated with @WebRemote, it's an action bean
for (Method m : beanClass.getDeclaredMethods())
{