Class SshdBundle<T extends io.dropwizard.Configuration>

java.lang.Object
org.dhatim.dropwizard.sshd.SshdBundle<T>
All Implemented Interfaces:
io.dropwizard.ConfiguredBundle<T>

public abstract class SshdBundle<T extends io.dropwizard.Configuration>
extends java.lang.Object
implements io.dropwizard.ConfiguredBundle<T>
  • Constructor Summary

    Constructors 
    Constructor Description
    SshdBundle()  
  • Method Summary

    Modifier and Type Method Description
    abstract void configure​(T configuration, io.dropwizard.setup.Environment environment, org.apache.sshd.server.SshServer server)  
    abstract SshdConfiguration getSshdConfiguration​(T configuration)  
    void initialize​(io.dropwizard.setup.Bootstrap<?> bootstrap)  
    void run​(T configuration, io.dropwizard.setup.Environment environment)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getSshdConfiguration

      public abstract SshdConfiguration getSshdConfiguration​(T configuration)
    • configure

      public abstract void configure​(T configuration, io.dropwizard.setup.Environment environment, org.apache.sshd.server.SshServer server)
    • run

      public void run​(T configuration, io.dropwizard.setup.Environment environment) throws java.lang.Exception
      Specified by:
      run in interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>
      Throws:
      java.lang.Exception
    • initialize

      public void initialize​(io.dropwizard.setup.Bootstrap<?> bootstrap)
      Specified by:
      initialize in interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>