Class MockInstantiator

  • All Implemented Interfaces:
    com.vaadin.flow.di.Instantiator , java.io.Serializable

    
    public class MockInstantiator
     implements Instantiator
                        

    Makes sure to load MockNpmTemplateParser.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Instantiator delegate
    • Constructor Summary

      Constructors 
      Constructor Description
      MockInstantiator(Instantiator delegate)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Instantiator getDelegate()
      <T extends Any> T getOrCreate(Class<T> type)
      I18NProvider getI18NProvider()
      final static Instantiator create(Instantiator delegate)
      • Methods inherited from class com.vaadin.flow.di.Instantiator

        createComponent, createRouteTarget, getApplicationClass, getApplicationClass, getDependencyFilters, getIndexHtmlRequestListeners, getMenuAccessControl, getServiceInitListeners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MockInstantiator

        MockInstantiator(Instantiator delegate)