Package | Description |
---|---|
com.atlassian.jira.component.pico | |
com.atlassian.jira.component.pico.registrar |
Modifier and Type | Method and Description |
---|---|
static ComponentContainer.Scope |
ComponentContainer.Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentContainer.Scope[] |
ComponentContainer.Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentContainer.component(ComponentContainer.Scope scope,
org.picocontainer.ComponentAdapter componentAdapter)
Adds the given component adapter to this container, with the given scope.
|
<T> void |
ComponentContainer.implementation(ComponentContainer.Scope scope,
Class<? super T> key,
Class<T> implementation) |
<T> void |
ComponentContainer.implementation(ComponentContainer.Scope scope,
Class<? super T> key,
Class<T> implementation,
Object... parameterKeys)
Registers the interface with a concrete implementation class using the given variable number of arguments as the
keys Pico will use to look up during instantiation.
|
<T> void |
ComponentContainer.implementation(ComponentContainer.Scope scope,
Class<? super T> key,
Class<T> implementation,
org.picocontainer.Parameter[] parameters) |
<T> void |
ComponentContainer.implementationUseDefaultConstructor(ComponentContainer.Scope scope,
Class<T> key,
Class<? extends T> implementation)
Registers the default constructor, to work around PICO-201.
|
<T,S extends T> |
ComponentContainer.instance(ComponentContainer.Scope scope,
Class<T> key,
S instance)
Adds the given component to this container.
|
Modifier and Type | Method and Description |
---|---|
MultipleKeyRegistrant<T> |
MultipleKeyRegistrant.implementing(Class<? super T> interfaceClass,
ComponentContainer.Scope desiredScope) |
static void |
CodeFormattersRegistrar.registerSourceCodeFormatters(ComponentContainer register,
ComponentContainer.Scope scope) |
void |
MultipleKeyRegistrant.registerWith(ComponentContainer.Scope defaultScope,
ComponentContainer container) |
Copyright © 2002-2019 Atlassian. All Rights Reserved.