User user = userService.getUserByName("sergey");
userService.save(user);
userService.update(user);
try {
//instanceof doesn't work with proxy aop object aop:declare-parents
EntityHeader entHeader = (EntityHeader)userService;
entHeader.printHeader();
} catch (Exception e) {
System.out.println("AOP DIDN'T WORK");
}
//read document from file