Class GenericFactory.FromInstance<T>

java.lang.Object
com.qwazr.server.GenericFactory.FromInstance<T>
All Implemented Interfaces:
GenericFactory<T>, io.undertow.servlet.api.InstanceFactory<T>
Enclosing interface:
GenericFactory<T>

public static final class GenericFactory.FromInstance<T>
extends java.lang.Object
implements GenericFactory<T>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.qwazr.server.GenericFactory

    GenericFactory.FromInstance<T>, GenericFactory.FromSupplier<T>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected T instance  
  • Method Summary

    Modifier and Type Method Description
    io.undertow.servlet.api.InstanceHandle<T> createInstance()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • createInstance

      public io.undertow.servlet.api.InstanceHandle<T> createInstance()
      Specified by:
      createInstance in interface io.undertow.servlet.api.InstanceFactory<T>