# A singleton calls use() five times. How many prototype instances did it touch?

how the prototype is obtained      serials seen           instances built
---------------------------------- ---------------------- ---------------
constructor injection (naive)      [1, 1, 1, 1, 1]        1
ObjectProvider.getObject()         [1, 2, 3, 4, 5]        5
@Lookup method                     [1, 2, 3, 4, 5]        5
scoped proxy (TARGET_CLASS)        [1, 2, 3, 4, 5]        5
ApplicationContext.getBean()       [1, 2, 3, 4, 5]        5

ProxyConsumer's injected reference is a com.ankurm.corebeans.scopes.ScopedPrototypeBean$$SpringCGLIB$$0
