public class

MultipleKeyRegistrant

extends Object
java.lang.Object
   ↳ com.atlassian.jira.MultipleKeyRegistrant<T>

Class Overview

Helper utility which helps to create single instance of object exposed under multiple keys

Summary

Public Methods
MultipleKeyRegistrant<T> implementing(Class<? super T> interfaceClass)
MultipleKeyRegistrant<T> implementing(Class<? super T> interfaceClass, ComponentContainer.Scope desiredScope)
MultipleKeyRegistrant<T> parameter(Class<?> parameter)
MultipleKeyRegistrant<T> parameters(Class...<?> parameters)
void registerWith(ComponentContainer.Scope defaultScope, ComponentContainer container)
static <T> MultipleKeyRegistrant<T> registrantFor(Class<T> concrete)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public MultipleKeyRegistrant<T> implementing (Class<? super T> interfaceClass)

public MultipleKeyRegistrant<T> implementing (Class<? super T> interfaceClass, ComponentContainer.Scope desiredScope)

public MultipleKeyRegistrant<T> parameter (Class<?> parameter)

public MultipleKeyRegistrant<T> parameters (Class...<?> parameters)

public void registerWith (ComponentContainer.Scope defaultScope, ComponentContainer container)

public static MultipleKeyRegistrant<T> registrantFor (Class<T> concrete)