Avoid NPE when getObjectType()'s called before initialization

According to javadoc: http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/beans/factory/FactoryBean.html 

method can be called before initializtion.