Lines Matching refs:SingletonFactory
68 factory SingletonFactory
71 func newSingleton(name string, factory SingletonFactory) singleton { argument
75 func newPreSingleton(name string, factory SingletonFactory) singleton { argument
117 type SingletonFactory func() Singleton type
121 func SingletonFactoryAdaptor(ctx *Context, factory SingletonFactory) blueprint.SingletonFactory { argument
145 func RegisterSingletonType(name string, factory SingletonFactory) { argument
149 func RegisterPreSingletonType(name string, factory SingletonFactory) { argument
249 RegisterPreSingletonType(name string, factory SingletonFactory) argument
250 RegisterSingletonType(name string, factory SingletonFactory) argument
281 singletonTypes: make(map[string]SingletonFactory),
282 preSingletonTypes: make(map[string]SingletonFactory),
290 singletonTypes map[string]SingletonFactory
291 preSingletonTypes map[string]SingletonFactory
314 func (ctx *initRegistrationContext) RegisterSingletonType(name string, factory SingletonFactory) {
322 func (ctx *initRegistrationContext) RegisterPreSingletonType(name string, factory SingletonFactory)…