public T getCachedInstance ( ) { ScopeCache cache = getScopeCache ( ) ; if ( cache != null ) { String key = PokeHelper . makeProviderKey ( type , qualifier ) ; Object instance = cache . findInstance ( key ) ; if ( instance != null ) { return ( T ) instance ; } } return null ; }
Get the cached instance of this provider when there is a instances associated with this provider and the instance is cached already . Note that the method will NOT increase reference count of this provider