interface IAppFactoryImmutable
package com.domwires.core.factory
extends IDisposableImmutable
extended by IAppFactory
Immutable interface.
See also:
com.domwires.core.factory.IAppFactory
Methods
getAllPoolItemsAreBusy<T>(type:ClassRef<T>):Bool
Parameters:
type |
---|
Returns:
true, if all pool items are busy.
getInstance<T>(type:ClassRef<T>, ?name:MappingName, ?targetType:Class<Dynamic>, ignorePool:Bool = false):T
getInstanceWithClassName<T>(className:ClassName, ?name:MappingName, ?targetType:Class<Dynamic>, shouldThrowAnError:Bool = true, ignorePool:Bool = false):T
getPoolBusyInstanceCount<T>(type:ClassRef<T>):Int
Parameters:
type |
---|
Returns:
count of busy object in pool
getPoolInstanceCount<T>(type:ClassRef<T>):Int
Returns total count of instances in pool. @return
Parameters:
type |
---|
hasPoolForType<T>(type:ClassRef<T>):Bool
Parameters:
type |
---|
Returns:
true, if IAppFactory
has registered pool for provided type.