Examples of constructor injection, setter injection and autowiring byName, byType and constructor