-
- All Implemented Interfaces:
-
org.enodeframework.commanding.CommandHandlerProxy,org.enodeframework.infrastructure.MethodInvocation,org.enodeframework.infrastructure.ObjectProxy
public final class DefaultCommandHandlerProxy implements CommandHandlerProxy
-
-
Constructor Summary
Constructors Constructor Description DefaultCommandHandlerProxy()
-
Method Summary
Modifier and Type Method Description UnithandleAsync(CommandContext context, CommandMessage<?> command)Handle the given application command async. ObjectgetInnerObject()UnitsetInnerObject(Object innerObject)UnitsetMethodHandle(MethodHandle methodHandle)MethodgetMethod()UnitsetMethod(Method method)-
-
Method Detail
-
handleAsync
Unit handleAsync(CommandContext context, CommandMessage<?> command)
Handle the given application command async. deal with aggregate in memory
-
getInnerObject
Object getInnerObject()
-
setInnerObject
Unit setInnerObject(Object innerObject)
-
setMethodHandle
Unit setMethodHandle(MethodHandle methodHandle)
-
-
-
-