public interface OperationAwareBean
An interface that make the target object aware of the operation.
cn.crane4j.core.executor.OperationAwareBeanOperationExecutor,
cn.crane4j.core.container.lifecycle.SmartOperationAwareBean| 限定符和类型 | 方法和说明 |
|---|---|
default void |
afterOperationsCompletion()
Do something after all operations completed.
|
default void |
beforeAssembleOperation()
Do something before the assembly operations begin.
|
default boolean |
supportOperation(String key)
Whether the target object supports the specified operation.
|
default boolean supportOperation(String key)
key - key property name of the operationdefault void beforeAssembleOperation()
default void afterOperationsCompletion()
Copyright © 2024. All rights reserved.