public class OrderedBeanOperationExecutor extends AbstractOperationAwareBeanOperationExecutor
Synchronization implementation of BeanOperationExecutor.
During execution, the execution order of AssembleOperation will be guaranteed,
but it cannot be guaranteed that Container will only be called at least once.
BeanOperationExecutor.OptionsenableExecuteNotActiveOperation| 构造器和说明 |
|---|
OrderedBeanOperationExecutor(ContainerManager containerManager,
Comparator<AssembleOperation> comparator)
Create a new
OrderedBeanOperationExecutor instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
executeOperations(List<AssembleExecution> executions,
BeanOperationExecutor.Options options)
Complete the assembly operation.
|
afterOperationsCompletion, beforeAssembleOperation, filterTargetsForSupportedOperationbeforeDisassembleOperation, createAssembleExecution, doCombineExecutions, doExecute, executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, executegetNamepublic OrderedBeanOperationExecutor(ContainerManager containerManager, Comparator<AssembleOperation> comparator)
OrderedBeanOperationExecutor instance.containerManager - container managercomparator - comparatorprotected void executeOperations(List<AssembleExecution> executions, BeanOperationExecutor.Options options) throws OperationExecuteException
Complete the assembly operation.
All operations of input parameters ensure their orderliness in the same class.
For example, if there are ordered operations a and b in A.class,
the order of a and b is still guaranteed when
the corresponding AssembleExecution is obtained.
executeOperations 在类中 AbstractBeanOperationExecutorexecutions - assembly operations to be completedoptions - options for executionOperationExecuteException - thrown when operation execution exceptionCopyright © 2024. All rights reserved.