This commit is contained in:
Andy Wilkinson
2019-08-19 15:58:43 +01:00
parent af38dddd67
commit ab87b2a39b
8 changed files with 11 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ import org.springframework.stereotype.Component;
* @author Madhura Bhave
*/
@Component
@SuppressWarnings("rawtypes")
public class SimpleFactoryBean implements FactoryBean {
private static boolean isInitializedEarly = false;
@@ -40,10 +41,12 @@ public class SimpleFactoryBean implements FactoryBean {
}
}
@Override
public Object getObject() {
return new Object();
}
@Override
public Class<?> getObjectType() {
return Object.class;
}