|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.grid.comms.client.BaseRemoteResource<T>
uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteConversation<T>
public class BaseRemoteConversation<T extends Conversation>
Non-SOAP methods common to Conversation objects. This base class provides the implementation of the core operations supported by proxies to remote resources.
RemoteResourceProxy,
AdditionalMethods| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
|
| Fields inherited from class uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteResource |
|---|
EPR, proxy, repository, serviceName, soapBinding, transport |
| Constructor Summary | |
|---|---|
BaseRemoteConversation()
|
|
| Method Summary | |
|---|---|
protected void |
assertNotFinished()
Throws a RuntimeException if the conversation is finished (unusable). |
int |
compareTo(StorableInStateRepository other)
|
void |
finish()
Indicate that this conversation is no longer required. |
StorableInStateRepository[] |
getChildConversations()
Returns an array of all conversations having this one as a parent. |
protected String |
getContextID()
Value to put in the context header, or null if none. |
Conversation |
getParentConversation()
|
RemoteService |
getService()
Return the conversation's RemoteService. |
protected void |
initHelper()
Perform any post-initialisation setup. |
boolean |
isFinished()
Returns true if the finish method has been called. |
void |
outOfDate()
Used by the StateRepository if the server returns new conversation with our ID. |
void |
setLabel(String description)
|
String |
toString()
|
| Methods inherited from class uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteResource |
|---|
createMethod, equals, getDescription, getEndpoint, getEndpointRef, getInterface, getMethod, getParentURL, getRepository, getServiceName, getURL, getWSDL, hasMethod, invoke, invokeService, invokeService, setDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository |
|---|
getDescription, getEndpointRef, getInterface, getParentURL, getRepository, getURL, setDescription |
| Field Detail |
|---|
protected static org.apache.log4j.Logger log
| Constructor Detail |
|---|
public BaseRemoteConversation()
| Method Detail |
|---|
protected void initHelper()
BaseRemoteResourceBaseRemoteResource.initProxyInternal(T, java.lang.Class, uk.ac.soton.ecs.iam.grid.comms.client.StateRepository, org.apache.axis.message.addressing.EndpointReferenceType) .
initHelper in class BaseRemoteResource<T extends Conversation>public Conversation getParentConversation()
public StorableInStateRepository[] getChildConversations()
Conversation
getChildConversations in interface Conversationprotected String getContextID()
BaseRemoteResource
getContextID in class BaseRemoteResource<T extends Conversation>public String toString()
toString in class BaseRemoteResource<T extends Conversation>protected void assertNotFinished()
assertNotFinished in class BaseRemoteResource<T extends Conversation>public void finish()
Conversation
Note that this does not close the conversation with the
remote supplier. You should normally call a different method,
such as WSResourceLifetime.destroy().
finish in interface Conversationpublic boolean isFinished()
Conversation
isFinished in interface Conversationpublic RemoteService getService()
Conversation
getService in interface Conversationpublic void outOfDate()
outOfDate in interface Conversationpublic int compareTo(StorableInStateRepository other)
compareTo in interface Comparable<StorableInStateRepository>compareTo in class BaseRemoteResource<T extends Conversation>
public void setLabel(String description)
throws RemoteException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||