TribeApplicationModule

open class TribeApplicationModule : KotlinModule

Base class for modules that bind things for TribeApplication. Provides binder methods for commonly bound members of the TribeApplication.

Constructors

Link copied to clipboard
fun TribeApplicationModule()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
protected open fun addError(p0: Message)
protected open fun addError(p0: Throwable)
protected open fun addError(p0: String, vararg p1: Any)
Link copied to clipboard
fun adminServletBinder(): KotlinMultibinder<ServletConfig>

Binder for admin servlets

Link copied to clipboard
fun appServletBinder(): KotlinMultibinder<ServletConfig>

Binder for app servlets

Link copied to clipboard
fun authFilterBinder(): KotlinOptionalBinder<AuthFilter<*, *>>

Optional binder for dropwizard AuthFilter

Link copied to clipboard
fun authorizerBinder(): KotlinOptionalBinder<Authorizer<Principal>>

Optional binder for the role based principal authorizer

Link copied to clipboard
protected open fun <T : Any> bind(p0: Key<T>): LinkedBindingBuilder<T>
protected open fun <T : Any> bind(p0: TypeLiteral<T>): AnnotatedBindingBuilder<T>
protected open fun <T : Any> bind(p0: Class<T>): AnnotatedBindingBuilder<T>
Link copied to clipboard
protected open fun bindConstant(): AnnotatedConstantBindingBuilder
Link copied to clipboard
protected open fun binder(): Binder
Link copied to clipboard
protected open fun bindInterceptor(    p0: Matcher<in Class<*>>,     p1: Matcher<in Method>,     vararg p2: MethodInterceptor)
Link copied to clipboard
protected open fun bindListener(p0: Matcher<in Binding<*>>, vararg p1: ProvisionListener)
protected open fun bindListener(p0: Matcher<in TypeLiteral<*>>, p1: TypeListener)
Link copied to clipboard
protected open fun bindScope(p0: Class<out Annotation>, p1: Scope)
Link copied to clipboard
protected open fun configure()
override fun configure(p0: Binder)
Link copied to clipboard
protected open fun convertToTypes(p0: Matcher<in TypeLiteral<*>>, p1: TypeConverter)
Link copied to clipboard
protected open fun currentStage(): Stage
Link copied to clipboard
protected open fun <T : Any> getMembersInjector(p0: TypeLiteral<T>): MembersInjector<T>
protected open fun <T : Any> getMembersInjector(p0: Class<T>): MembersInjector<T>
Link copied to clipboard
protected open fun <T : Any> getProvider(p0: Key<T>): Provider<T>
protected open fun <T : Any> getProvider(p0: Class<T>): Provider<T>
Link copied to clipboard
protected open fun install(p0: Module)
Link copied to clipboard
protected open fun requestInjection(p0: Any)
Link copied to clipboard
protected open fun requestStaticInjection(vararg p0: Class<*>)
Link copied to clipboard
protected open fun requireBinding(p0: Key<*>)
protected open fun requireBinding(p0: Class<*>)
Link copied to clipboard
fun resourceBinder(): KotlinMultibinder<Any>

Binder for jersey resources

Properties

Link copied to clipboard
var binder: Binder

Inheritors

Link copied to clipboard
Link copied to clipboard