Package com.google.gwt.core.server
Class LocalizableInstantiator
java.lang.Object
com.google.gwt.core.server.ServerGwtBridge.ClassInstantiatorBase
com.google.gwt.core.server.LocalizableInstantiator
- All Implemented Interfaces:
ServerGwtBridge.ClassInstantiator
class LocalizableInstantiator
extends ServerGwtBridge.ClassInstantiatorBase
implements ServerGwtBridge.ClassInstantiator
Instantiator that knows how to lookup locale-specific implementations.
It tries pkg.class_locale (including nested classes),
pkg.impl.class_locale, and pkg.classImpl_locale, following the inheritance
chain for the requested locale.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
create
(Class<?> clazz, ServerGwtBridge.Properties properties) Create an instance given a base class.Methods inherited from class com.google.gwt.core.server.ServerGwtBridge.ClassInstantiatorBase
tryCreate, tryCreate
-
Constructor Details
-
LocalizableInstantiator
LocalizableInstantiator()
-
-
Method Details
-
create
Description copied from interface:ServerGwtBridge.ClassInstantiator
Create an instance given a base class. The created class may be a subtype of the requested class.- Specified by:
create
in interfaceServerGwtBridge.ClassInstantiator
- Type Parameters:
T
-- Parameters:
clazz
-properties
-- Returns:
- instance or null if unable to create
-