Code example for ResourceEditorRegistrar

0
	private ApplicationContext applicationContext; 
 
	@SuppressWarnings("deprecation") 
	@Override 
	public ResourceEditorRegistrar getObject() throws Exception { 
		return new ResourceEditorRegistrar(applicationContext); 
	} 
 
	@Override 
	public Class<?> getObjectType() { 
		return ResourceEditorRegistrar.class; 
	} 
 
	@Override 
	public boolean isSingleton() { 
		return true; 
	} 
 
	@Override 
	public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {