import com.springsource.service.*;
...
@Configuration
public class AppConfig {
@Bean
public ClientService clientService() {
return new ClientServiceImpl();
}
}
What is the id of the declared bean? (Select one)
public class AppConfig {
public ClientService clientService() {
return new ClientServiceImpl();
}
}
The Spring Java configuration above is NOT correct. Why? (select one)
@Configuration
public class AppConfig {
@Bean
public ClientService clientService() {
ClientServiceImpl clientService = new ClientServiceImpl(); clientService.addClientDao(new ClientDao());
return clientService;
}
In the example above, which stateme
Identify the correct statement about the following pointcut expression. Assume that these 2 classes do not
inherit from one another:
Execution (* rewards.service.MyClass.*(..)) && execution(* rewards.service2.MyOtherClass.*(..)) (Select
one)