Package com.google.gwt.core.server
Class ObjectNew
java.lang.Object
com.google.gwt.core.server.ServerGwtBridge.ClassInstantiatorBase
com.google.gwt.core.server.ObjectNew
- All Implemented Interfaces:
ServerGwtBridge.ClassInstantiator
A class instantiator that simple news the requested class. Used as a last
resort.
-
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
-
ObjectNew
ObjectNew()
-
-
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.- Type Parameters:
T
-- Parameters:
clazz
-properties
-- Returns:
- instance or null if unable to create
-