Class GenericCloseAgentBuilder
java.lang.Object
org.zkoss.zats.mimic.impl.operation.GenericCloseAgentBuilder
- All Implemented Interfaces:
OperationAgentBuilder<ComponentAgent,CloseAgent>
public class GenericCloseAgentBuilder
extends Object
implements OperationAgentBuilder<ComponentAgent,CloseAgent>
- Author:
- Hawk
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOperation(ComponentAgent target) This method create and return a specific implementation ofOperationAgentobject for specified OperationAgent class.Provide class information for registration.
-
Constructor Details
-
GenericCloseAgentBuilder
public GenericCloseAgentBuilder()
-
-
Method Details
-
getOperation
Description copied from interface:OperationAgentBuilderThis method create and return a specific implementation ofOperationAgentobject for specified OperationAgent class. Similar to factory pattern.- Specified by:
getOperationin interfaceOperationAgentBuilder<ComponentAgent,CloseAgent> - Returns:
- the operation agent
-
getOperationClass
Description copied from interface:OperationAgentBuilderProvide class information for registration.- Specified by:
getOperationClassin interfaceOperationAgentBuilder<ComponentAgent,CloseAgent> - Returns:
- a sub-class of
OperationAgent
-