public class CacheableContainerProcessor extends Object implements ContainerLifecycleProcessor
Processor for wrap the container as a cacheable container according to container-cache configuration before registering it.
ContainerCache,
CacheableContainer| 限定符和类型 | 类和说明 |
|---|---|
static interface |
CacheableContainerProcessor.CacheDefinitionRetriever
Retriever for cache definition.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Crane4jGlobalConfiguration |
configuration |
| 构造器和说明 |
|---|
CacheableContainerProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected CacheDefinition |
getCacheDefinitionFromContainer(Container<Object> container)
Get container class.
|
@Nullable Container<Object> |
whenCreated(ContainerDefinition definition,
Container<Object> container)
Callback when the container is created.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwhenDestroyed, whenRegisteredprotected final Crane4jGlobalConfiguration configuration
public @Nullable Container<Object> whenCreated(ContainerDefinition definition, Container<Object> container)
whenCreated 在接口中 ContainerLifecycleProcessordefinition - definition of containercontainer - containerContainerManager.getContainer(java.lang.String)protected CacheDefinition getCacheDefinitionFromContainer(Container<Object> container)
container - containerCopyright © 2024. All rights reserved.