Class Overview
A component adapter that creates I18nHelper proxies. Whenever a method is called on the proxy, it will call getInstance(com.atlassian.crowd.embedded.api.User)
to obtain a real I18nHelper for the user
that is currently logged in, and will delegate the call to the real implementation.
Public Constructors
public
I18nHelperComponentAdapter
()
Public Methods
public
Class<?>
getComponentImplementation
()
public
Object
getComponentInstance
()
Throws
PicoInitializationException
| |
PicoIntrospectionException
| |
public
void
verify
()
Throws
UnsatisfiableDependenciesException
| |
Protected Methods
Returns an I18nHelper instance from the container.
protected
T
getInstanceFromContainer
(Class<T> cls)
Returns an instance from the PICO container.
Parameters
cls
| the Class to look for |