public class RemotePojoInvocationCommandResponse extends AbstractCommandResponse
| Constructor and Description |
|---|
RemotePojoInvocationCommandResponse(Command cmd,
Object results)
Constructor for
RemotePojoInvocationCommandResponse that defines a successfully invoked remote POJO
method. |
RemotePojoInvocationCommandResponse(CommandResponse responseToTransform)
Constructor for
RemotePojoInvocationCommandResponse. |
RemotePojoInvocationCommandResponse(Command cmd,
Throwable exception)
Constructor for
RemotePojoInvocationCommandResponse that defines a failed remote POJO invocation. |
getCommand, getException, getResults, isSuccessful, setCommand, setException, setResults, setSuccessful, toStringpublic RemotePojoInvocationCommandResponse(Command cmd, Object results)
RemotePojoInvocationCommandResponse that defines a successfully invoked remote POJO
method.cmd - the command that was executed (may be null)results - public RemotePojoInvocationCommandResponse(Command cmd, Throwable exception)
RemotePojoInvocationCommandResponse that defines a failed remote POJO invocation.cmd - the command that was executed (may be null)exception - the exception that describes the failure, if available (may be null)public RemotePojoInvocationCommandResponse(CommandResponse responseToTransform)
RemotePojoInvocationCommandResponse.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.