|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.webservice.WebServiceClientImpl<S>
S
- Stub object type. This is service dependent.public abstract class WebServiceClientImpl<S>
Abstract class for all web service clients. All clients MUST extend this class.
Field Summary | |
---|---|
protected Collection<Method> |
availableMethods
|
protected String |
clientID
|
protected S |
clientStub
|
protected static String |
DEF_DISPLAY_NAME
|
protected static String |
DEF_NAME
|
protected String |
description
|
protected String |
displayName
|
protected ModuleProperties |
props
|
protected WebServiceClientManager.ClientType[] |
type
|
Constructor Summary | |
---|---|
WebServiceClientImpl()
Creates a new WebServiceClientImpl object. |
|
WebServiceClientImpl(String serviceName,
String displayName)
Creates a new WebServiceClientImpl object. |
|
WebServiceClientImpl(String serviceName,
String displayName,
WebServiceClientManager.ClientType[] types)
Creates a new WebServiceClientImpl object. |
|
WebServiceClientImpl(String serviceName,
String displayName,
WebServiceClientManager.ClientType[] types,
ModuleProperties props)
Creates a new WebServiceClientImpl object. |
|
WebServiceClientImpl(String serviceName,
String displayName,
WebServiceClientManager.ClientType[] types,
ModuleProperties props,
S clientStub)
Creates a new WebServiceClientImpl object. |
Method Summary | |
---|---|
abstract void |
executeService(CyWebServiceEvent e)
Execute the service through event handling system. |
Collection<Method> |
getAccessibleMethods()
DOCUMENT ME! |
String |
getClientID()
DOCUMENT ME! |
S |
getClientStub()
Client stub will be returned from this. |
WebServiceClientManager.ClientType[] |
getClientType()
DOCUMENT ME! |
String |
getDescription()
DOCUMENT ME! |
String |
getDisplayName()
DOCUMENT ME! |
ModuleProperties |
getProps()
DOCUMENT ME! |
boolean |
isCompatibleType(WebServiceClientManager.ClientType ct)
DOCUMENT ME! |
void |
setClientStub(S stub)
Set stub to this client. |
void |
setDescription(String description)
DOCUMENT ME! |
void |
setProps(ModuleProperties props)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String DEF_NAME
protected static final String DEF_DISPLAY_NAME
protected S clientStub
protected String clientID
protected String displayName
protected WebServiceClientManager.ClientType[] type
protected ModuleProperties props
protected Collection<Method> availableMethods
protected String description
Constructor Detail |
---|
public WebServiceClientImpl()
public WebServiceClientImpl(String serviceName, String displayName)
serviceName
- DOCUMENT ME!displayName
- DOCUMENT ME!public WebServiceClientImpl(String serviceName, String displayName, WebServiceClientManager.ClientType[] types)
serviceName
- DOCUMENT ME!displayName
- DOCUMENT ME!types
- DOCUMENT ME!public WebServiceClientImpl(String serviceName, String displayName, WebServiceClientManager.ClientType[] types, ModuleProperties props)
serviceName
- DOCUMENT ME!displayName
- DOCUMENT ME!types
- DOCUMENT ME!props
- DOCUMENT ME!public WebServiceClientImpl(String serviceName, String displayName, WebServiceClientManager.ClientType[] types, ModuleProperties props, S clientStub)
serviceName
- DOCUMENT ME!displayName
- DOCUMENT ME!types
- DOCUMENT ME!props
- DOCUMENT ME!Method Detail |
---|
public Collection<Method> getAccessibleMethods()
getAccessibleMethods
in interface WebServiceClient<S>
public String getDisplayName()
getDisplayName
in interface WebServiceClient<S>
public String getClientID()
getClientID
in interface WebServiceClient<S>
public WebServiceClientManager.ClientType[] getClientType()
getClientType
in interface WebServiceClient<S>
WebServiceClientManager.ClientType
public boolean isCompatibleType(WebServiceClientManager.ClientType ct)
isCompatibleType
in interface WebServiceClient<S>
ct
- DOCUMENT ME!
public S getClientStub()
getClientStub
in interface WebServiceClient<S>
public ModuleProperties getProps()
getProps
in interface WebServiceClient<S>
public void setProps(ModuleProperties props)
setProps
in interface WebServiceClient<S>
props
- DOCUMENT ME!public String getDescription()
getDescription
in interface WebServiceClient<S>
public void setDescription(String description)
setDescription
in interface WebServiceClient<S>
description
- DOCUMENT ME!public void setClientStub(S stub)
WebServiceClient
setClientStub
in interface WebServiceClient<S>
public abstract void executeService(CyWebServiceEvent e) throws CyWebServiceException
executeService
in interface CyWebServiceEventListener
e
- DOCUMENT ME!
CyWebServiceException
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |