| java.lang.Object com.google.inject.Scopes
Scopes | public class Scopes (Code) | | Built in scope implementations.
author: crazybob@google.com (Bob Lee) |
getScopeForType | static Scope getScopeForType(Class> implementation, Map<Class<? extends Annotation>, Scope> scopes, ErrorHandler errorHandler)(Code) | | Gets the scope for a type based on its annotations. Returns
null if none specified.
Parameters: implementation - type Parameters: scopes - map of scope names to scopes Parameters: errorHandler - handles errors |
|
|