Class GatewayInjector

  • All Implemented Interfaces:
    Injector

    public class GatewayInjector
    extends java.lang.Object
    implements Injector
    • Constructor Summary

      Constructors 
      Constructor Description
      GatewayInjector​(io.gridgo.core.GridgoContext context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object extractValue​(java.lang.Class<?> type, io.gridgo.core.Gateway gateway)  
      void inject​(java.lang.Class<?> gatewayClass, java.lang.Object instance)  
      • Methods inherited from class java.lang.Object

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

      • GatewayInjector

        public GatewayInjector​(io.gridgo.core.GridgoContext context)
    • Method Detail

      • inject

        public void inject​(java.lang.Class<?> gatewayClass,
                           java.lang.Object instance)
        Specified by:
        inject in interface Injector
      • extractValue

        protected java.lang.Object extractValue​(java.lang.Class<?> type,
                                                io.gridgo.core.Gateway gateway)