public class ProxytoysI18nizer extends Object implements I18nizer
Constructor and Description |
---|
ProxytoysI18nizer(TranslationService translationService,
LocaleProvider localeProvider) |
Modifier and Type | Method and Description |
---|---|
<C> C |
decorate(C obj) |
protected <P,C> C |
decorateChild(C child,
P parent) |
protected <T> T |
decorateI18nTextMethods(T obj,
Class<T> proxyPrimaryType,
Class... proxyMoreTypes) |
protected <T> T |
decorateI18nTextMethods(T obj,
Class<T> proxyPrimaryType,
Class[] proxyMoreTypes,
com.thoughtworks.proxy.toys.decorate.Decorator<T> decorator) |
protected <T,P> T |
injectParentableInterface(Class<? extends T> ct,
T object,
P parent) |
protected <T> T |
interceptGetters(T o,
Class<T> originalClass) |
protected boolean |
isProxied(Class<?> aClass) |
protected <T> I18nTextMethodDecorator<T> |
newI18nTextMethodDecorator(I18nKeyGenerator<T> keyGen) |
@Inject public ProxytoysI18nizer(TranslationService translationService, LocaleProvider localeProvider)
protected <P,C> C decorateChild(C child, P parent)
protected <T,P> T injectParentableInterface(Class<? extends T> ct, T object, P parent)
protected <T> T decorateI18nTextMethods(T obj, Class<T> proxyPrimaryType, Class... proxyMoreTypes)
protected <T> I18nTextMethodDecorator<T> newI18nTextMethodDecorator(I18nKeyGenerator<T> keyGen)
protected <T> T decorateI18nTextMethods(T obj, Class<T> proxyPrimaryType, Class[] proxyMoreTypes, com.thoughtworks.proxy.toys.decorate.Decorator<T> decorator)
protected <T> T interceptGetters(T o, Class<T> originalClass)
protected boolean isProxied(Class<?> aClass)
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.