VP
By default, a transaction will be rolling back on RuntimeException and Error but not on checked exceptions (business exceptions)
Size: a a a
VP
AE
AK
IP
AK
MK
MK
MK
SI
VP
SI
Dm
public final class XoServiceCollection implements ServicesCollection {
private final Map<Class<?>, ? super Object> services;
public XoServiceCollection() {
services = new HashMap<>();
}
@Override
public <InterfaceType, ImplementationType extends InterfaceType> void
addService(Class<InterfaceType> interfaceType, ImplementationType implementationType) {
services.put(interfaceType, implementationType);
}
@Override
public <InterfaceType> InterfaceType getService(Class<InterfaceType> interfaceType) {
return null;
}
}Dm
Dm