Package org.dhatim.dropwizard.sshd
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)
-
Constructor Details
-
SshdBundle
public SshdBundle()
-
-
Method Details
-
getSshdConfiguration
-
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 interfaceio.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>
- Throws:
java.lang.Exception
-
initialize
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)- Specified by:
initialize
in interfaceio.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>
-