JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Index
Help
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
SEARCH:
Package
org.apache.logging.log4j.plugins.di.spi
Interface Scope
public interface
Scope
Scopes control the lifetime of instances with a
ScopeType
.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
<T>
Supplier
<T>
get
(
Key
<T> key,
Supplier
<T> unscoped)
Scopes an instance factory for the provided key and unscoped factory in this scope.
Method Details
get
<T>
Supplier
<T>
get
(
Key
<T> key,
Supplier
<T> unscoped)
Scopes an instance factory for the provided key and unscoped factory in this scope. The scoped factory should return a current scoped instance or create a new one using the unscoped factory.