|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--context.arch.handler.AsyncServiceHandlerInfo
This class acts as a container for handler info. It holds a reference to an asynchronous service handler, the id of the requesting component, the id of the the component offering the service, the name of the service to execute, the name of the service function to execute, and the unique request tag to use.
AsyncServiceHandler
Constructor Summary | |
AsyncServiceHandlerInfo()
Basic empty constructor |
|
AsyncServiceHandlerInfo(AsyncServiceHandler handler,
java.lang.String localId,
java.lang.String serviceId,
java.lang.String serviceName,
java.lang.String functionName,
java.lang.String requestTag)
Full constructor taking all input parameters |
Method Summary | |
java.lang.String |
getFunctionName()
Returns the name of the service function |
AsyncServiceHandler |
getHandler()
Returns the handler |
java.lang.String |
getLocalId()
Returns the local id |
java.lang.String |
getRequestTag()
Returns the request tag |
java.lang.String |
getServiceId()
Returns the service id |
java.lang.String |
getServiceName()
Returns the name of the service |
java.lang.String |
getUniqueId()
Returns a unique id for this handler |
void |
setFunctionName(java.lang.String functionName)
Sets the name of the service function to execute |
void |
setHandler(AsyncServiceHandler handler)
Sets the handler |
void |
setLocalId(java.lang.String localId)
Sets the local id |
void |
setRequestTag(java.lang.String requestTag)
Sets the request tag |
void |
setServiceId(java.lang.String serviceId)
Sets the service id |
void |
setServiceName(java.lang.String serviceName)
Sets the name of the service |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AsyncServiceHandlerInfo()
public AsyncServiceHandlerInfo(AsyncServiceHandler handler, java.lang.String localId, java.lang.String serviceId, java.lang.String serviceName, java.lang.String functionName, java.lang.String requestTag)
handler
- Reference to an asynchronous service handlerlocalId
- Id of the component calling the serviceserviceId
- Id of the widget providing the serviceserviceName
- Name of the service to executefunctionName
- Name of the service function to executerequestTag
- Tag to identify the requestMethod Detail |
public java.lang.String getLocalId()
public void setLocalId(java.lang.String localId)
localId
- Id of the component requesting the servicepublic java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
serviceId
- Id of the component providing the servicepublic java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
serviceName
- Name of the service to executepublic java.lang.String getFunctionName()
public void setFunctionName(java.lang.String functionName)
functionName
- Name of the service function to executepublic java.lang.String getRequestTag()
public void setRequestTag(java.lang.String requestTag)
the
- request tagpublic AsyncServiceHandler getHandler()
public void setHandler(AsyncServiceHandler handler)
handler
- Handler to usepublic java.lang.String getUniqueId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |