Class ServerGwtBridge.ClassInstantiatorBase

java.lang.Object
com.google.gwt.core.server.ServerGwtBridge.ClassInstantiatorBase
All Implemented Interfaces:
ServerGwtBridge.ClassInstantiator
Direct Known Subclasses:
LocalizableInstantiator, ObjectNew
Enclosing class:
ServerGwtBridge

public abstract static class ServerGwtBridge.ClassInstantiatorBase extends Object implements ServerGwtBridge.ClassInstantiator
Helper class that provides some wrappers for looking up and instantiating a class.
  • Constructor Details

    • ClassInstantiatorBase

      public ClassInstantiatorBase()
  • Method Details

    • tryCreate

      protected <T> T tryCreate(Class<T> clazz)
      Type Parameters:
      T -
      Parameters:
      clazz -
      Returns:
      class instance or null
    • tryCreate

      protected <T> T tryCreate(String className)
      Type Parameters:
      T -
      Parameters:
      className -
      Returns:
      class instance or null