|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.batch.repository.AbstractRemoteDao
public abstract class AbstractRemoteDao
Base class for all daos handling remote calls through
AppmasterScOperations.
| Constructor Summary | |
|---|---|
AbstractRemoteDao()
Default constructor. |
|
AbstractRemoteDao(org.springframework.yarn.integration.ip.mind.AppmasterMindScOperations appmasterScOperations)
Constructor which sets the AppmasterMindScOperations. |
|
| Method Summary | |
|---|---|
protected void |
checkResponseMayThrow(org.springframework.yarn.integration.ip.mind.binding.BaseResponseObject responseObject)
Checks status of a response and throws an exception if response status message is set to 'error'. |
protected DataAccessException |
convertException(Exception e)
Converts given exception to Spring dao exception. |
org.springframework.yarn.integration.ip.mind.AppmasterMindScOperations |
getAppmasterScOperations()
Gets the AppmasterMindScOperations for this implementation. |
void |
setAppmasterScOperations(org.springframework.yarn.integration.ip.mind.AppmasterMindScOperations appmasterScOperations)
Sets the AppmasterMindScOperations for this implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRemoteDao()
AppmasterMindScOperations should be
set via setAppmasterScOperations(AppmasterMindScOperations)
method.
public AbstractRemoteDao(org.springframework.yarn.integration.ip.mind.AppmasterMindScOperations appmasterScOperations)
AppmasterMindScOperations.
appmasterScOperations - AppmasterMindScOperations to set| Method Detail |
|---|
public org.springframework.yarn.integration.ip.mind.AppmasterMindScOperations getAppmasterScOperations()
AppmasterMindScOperations for this implementation.
AppmasterMindScOperations used for this implementationpublic void setAppmasterScOperations(org.springframework.yarn.integration.ip.mind.AppmasterMindScOperations appmasterScOperations)
AppmasterMindScOperations for this implementation.
appmasterScOperations - the AppmasterMindScOperations
protected void checkResponseMayThrow(org.springframework.yarn.integration.ip.mind.binding.BaseResponseObject responseObject)
throws RemoteException
responseObject - the response object
RemoteException - if state is set to errorprotected DataAccessException convertException(Exception e)
e - the exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||