public class EmptyContainer extends Object implements LimitedContainer<Object>
An empty data source container for placeholders,
it does not provide any data and data registration function itself.
When an assembly operation specifies to use the data source container,
it actually means that the operation object itself will be used as the data source object.
Container.Lifecycle| 限定符和类型 | 字段和说明 |
|---|---|
static EmptyContainer |
INSTANCE |
EMPTY_CONTAINER_NAMESPACE| 构造器和说明 |
|---|
EmptyContainer() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<Object,?> |
get(Collection<Object> keys)
Enter a batch of key values to return data source objects grouped by key values.
|
Map<Object,?> |
getAll()
Get all data source objects in the container.
|
String |
getNamespace()
Gets the namespace of the data source container,
The value always defaults to an empty string
|
public static final EmptyContainer INSTANCE
public String getNamespace()
getNamespace 在接口中 Container<Object>public Map<Object,?> get(Collection<Object> keys)
Enter a batch of key values to return data source objects grouped by key values. always return an empty collection.
public Map<Object,?> getAll()
getAll 在接口中 LimitedContainer<Object>Copyright © 2024. All rights reserved.