public class ApplicationMessageCatalogObjectProvider extends LockSupport implements ObjectProvider
ComponentMessagesSource.getApplicationCatalog(Locale)
Constructor and Description |
---|
ApplicationMessageCatalogObjectProvider(ObjectLocator locator) |
Modifier and Type | Method and Description |
---|---|
void |
objectWasInvalidated() |
<T> T |
provide(Class<T> objectType,
AnnotationProvider annotationProvider,
ObjectLocator locator)
Provides an object based on an expression.
|
acquireReadLock, downgradeWriteLockToReadLock, releaseReadLock, releaseWriteLock, takeWriteLock, upgradeReadLockToWriteLock
public ApplicationMessageCatalogObjectProvider(ObjectLocator locator)
public <T> T provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
ObjectProvider
provide
in interface ObjectProvider
objectType
- the expected object typeannotationProvider
- provides access to annotations (typically, the field or parameter to which an
injection-related annotation is attached); annotations on the field or parameter may
also be used when resolving the desired objectlocator
- locator for the context in which the provider is being usedpublic void objectWasInvalidated()
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.