DefaultApplicationModule

class DefaultApplicationModule : TribeApplicationModule

The default guice module, binds things common to dropwizard and serverless execution

Constructors

Link copied to clipboard
fun DefaultApplicationModule()

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 override 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
open operator override fun equals(other: Any?): Boolean
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
open override fun hashCode(): Int
Link copied to clipboard
protected open fun install(p0: Module)
Link copied to clipboard
@ProvidesIntoSet
fun provideCorsFilter(appConfig: TribeApplicationConfig): ServletFilterConfig

Configure CORS headers to allow the service to be hit from pages hosted by the admin port, the app port, or standard HTTP ports on the configured TribeApplicationConfig.corsDomain

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