public User getUSer(String email)
	{
		try
		{
			ExampleFunctionService userService = appContext.getBean(ExampleFunctionService.class);
			return userService.findUserByEmail(email);
		}
		finally
		{
			appContext.close();
		}
	}
public User getUSer(String email)
	{
		try
		{
			ExampleFunctionService userService = appContext.getBean(ExampleFunctionService.class);
			return userService.findUserByEmail(email);
		}
		finally
		{
			appContext.close();
		}
	}
public User getUSer ( String email ) { try { ExampleFunctionService userService = appContext . getBean ( ExampleFunctionService . class ) ; return userService . findUserByEmail ( email ) ; } finally { appContext . close ( ) ; } }
--------------------------------------------------------
--------------------------------------------------------