Jboss AS 7.1.1
MyEclipse Blue (2014)
Linux OS
Create a POJO TestObj.java
import oracle.sql.BLOB;
public class TestObj implements Serializable, Cloneable {
private static final Log log = LogFactory.getLog(TestObj.class);
private static final long serialVersionUID = 1L;
private BLOB photo;
public BLOB getLogo() { | |
return logo; |
}
public void setLogo(BLOB logo) {
this.logo = logo; |
}
}
Now in any controller class to do the methods reflection:
TstObj bean = new TestObj();
Class beanClass = bean.getClass();
Method[] beanMethods = beanClass.getMethods();
Method[] beanMethods = beanClass.getMethods(); will fail and no message shown.
The same above codes worked on IBM's Websphere 8.0.
So I believe it is the JBoss issue.
Please help.
Scott