|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.webservice.AbstractWebServiceClientSink<I>
I - the type of input data to handlepublic abstract class AbstractWebServiceClientSink<I>
Ancestor for webservice clients.
| Field Summary | |
|---|---|
protected AbstractActor |
m_Owner
the owner. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AbstractWebServiceClientSink()
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Cleans up the client. |
protected abstract void |
doQuery()
Performs the actual webservice query. |
AbstractActor |
getOwner()
Returns the owning actor. |
protected abstract URL |
getWsdlLocation()
Returns the WSDL location. |
protected void |
postQuery()
Hook method after querying the webservice. |
protected void |
preQuery()
Hook method before querying the webservice. |
void |
query()
Queries the webservice. |
void |
setOwner(AbstractActor value)
Sets the actor that executes this webservice. |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, defineOptions, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface adams.flow.webservice.WebServiceClientConsumer |
|---|
accepts, setRequestData |
| Field Detail |
|---|
protected AbstractActor m_Owner
| Constructor Detail |
|---|
public AbstractWebServiceClientSink()
| Method Detail |
|---|
public void setOwner(AbstractActor value)
setOwner in interface WebServiceClientvalue - the ownerpublic AbstractActor getOwner()
getOwner in interface WebServiceClientprotected abstract URL getWsdlLocation()
protected void preQuery()
throws Exception
Exception - if it fails for some reason
protected abstract void doQuery()
throws Exception
Exception - if accessing webservice fails for some reason
protected void postQuery()
throws Exception
Exception - if it fails for some reason
public void query()
throws Exception
query in interface WebServiceClientException - if accessing webservice fails for some reasonpublic void cleanUp()
cleanUp in interface CleanUpHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||