public class OrderedBeanOperationExecutor extends AbstractBeanOperationExecutor
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, waitTimeoutMillisecondIfOperationNotActive| 构造器和说明 |
|---|
OrderedBeanOperationExecutor(ContainerManager containerManager,
Comparator<AssembleOperation> comparator)
Create a new
OrderedBeanOperationExecutor comparator. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
executeOperations(List<AssembleExecution> executions,
BeanOperationExecutor.Options options)
Complete the assembly operation.
|
createAssembleExecution, execute, tryExecuteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, executepublic OrderedBeanOperationExecutor(ContainerManager containerManager, Comparator<AssembleOperation> comparator)
OrderedBeanOperationExecutor comparator.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 © 2023. All rights reserved.