|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.examples.clienttoolkit.ParameterisedUpdateViaDataTransport
This example shows how data transport operations can be used to push data into a data service for an SQL update.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement. |
private static java.lang.String |
RESOURCE_NAME
Name of the data service resource. |
private static java.lang.String |
SERVICE_URL
URL for the data service. |
Constructor Summary | |
ParameterisedUpdateViaDataTransport()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Runs the program. |
private static void |
pollDataService(DataService dataService,
Session session,
RequestStatus state)
Polls the session request status at the specified data service until it reaches the specified state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private static final java.lang.String SERVICE_URL
private static final java.lang.String RESOURCE_NAME
Constructor Detail |
public ParameterisedUpdateViaDataTransport()
Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- no arguments are used
java.lang.Exception
- if anything unexpected goes wrongprivate static void pollDataService(DataService dataService, Session session, RequestStatus state) throws java.lang.Exception
dataService
- the data service holding the sessionsession
- the session that the request is joined tostate
- the session request status to poll until
java.lang.Exception
- if an unexpected error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |