java Programming Glossary: aimpl
Guice module with type parameters http://stackoverflow.com/questions/7385858/guice-module-with-type-parameters Like in this not working example interface A T class AImpl T implements A T interface B T class BImpl T implements B T.. configure bind new TypeLiteral A T .to new TypeLiteral AImpl T bind new TypeLiteral B T .to new TypeLiteral BImpl T I tried.. TypeLiteral A T a newGenericType A.class TypeLiteral AImpl T aimpl newGenericType AImpl.class bind a .to aimpl TypeLiteral..
Is it possible to unproxy a Spring bean? http://stackoverflow.com/questions/8121551/is-it-possible-to-unproxy-a-spring-bean TransactionAttributeType.REQUIRED public class AImpl implements A public void setSomeDependency D dependency This.. setter DOES NOT BELONG to interface A bean id aImpl class AImpl Now I want to integration test it but first I need to mock the.. the dependency D because it does too much stuff. Since the AImpl implements an interface and contains a transactional annotation..
|