public interface AssembleExecution
Indicates that an assembly operation is executed at one time, including all objects that need to perform this operation, and the lifecycle used for execution.
This object is usually one-time.
It is created at one execution of BeanOperationExecutor
and destroyed after that execution.
BeanOperationExecutor,
AssembleOperationHandler| 限定符和类型 | 接口和说明 |
|---|---|
static class |
AssembleExecution.SimpleAssembleExecution
Simple implementation of
AssembleExecution. |
| 限定符和类型 | 方法和说明 |
|---|---|
static AssembleExecution |
create(BeanOperations beanOperations,
AssembleOperation operation,
Container<?> container,
Collection<Object> targets)
Create an instance of
AssembleExecution. |
BeanOperations |
getBeanOperations()
Get the operation configuration corresponding to the operation object.
|
Container<?> |
getContainer()
Get the data source container of the assembly operation.
|
default AssembleOperationHandler |
getHandler()
Gets the handler used to perform the assembly operation.
|
AssembleOperation |
getOperation()
Get the assembly operation to be performed.
|
default AnnotatedElement |
getSource()
Get the type of the object to be operated on.
|
Collection<Object> |
getTargets()
get the target object to be processed.
|
static AssembleExecution create(BeanOperations beanOperations, AssembleOperation operation, Container<?> container, Collection<Object> targets)
AssembleExecution.beanOperations - bean operationsoperation - operationcontainer - containertargets - targetsBeanOperations getBeanOperations()
default AnnotatedElement getSource()
AssembleOperation getOperation()
Container<?> getContainer()
default AssembleOperationHandler getHandler()
Collection<Object> getTargets()
Copyright © 2024. All rights reserved.