com.languagecomputer.api
Class TemporalWebServiceImpl

java.lang.Object
  extended by com.languagecomputer.api.BaseWebServiceImpl
      extended by com.languagecomputer.api.BaseAnnotationWebServiceImpl
          extended by com.languagecomputer.api.TemporalWebServiceImpl
All Implemented Interfaces:
BaseWebService, TemporalWebService

public class TemporalWebServiceImpl
extends BaseAnnotationWebServiceImpl
implements TemporalWebService

Implementation of TemporalWebService.

Since:
1.0
Author:
Toby Jungen

Field Summary
 
Fields inherited from class com.languagecomputer.api.BaseAnnotationWebServiceImpl
xmlConverter
 
Fields inherited from class com.languagecomputer.api.BaseWebServiceImpl
sessionManager
 
Constructor Summary
TemporalWebServiceImpl(SessionManager sessionManager)
          Creates a new TemporalWebServiceImpl using the given sessionManager.
 
Method Summary
protected  AnnotationService getAnnotationService(String sessionID)
          Returns the TemporalService.
protected  AnnotationType getAnnotationType()
          Returns TemporalSpan.TYPE.
 
Methods inherited from class com.languagecomputer.api.BaseAnnotationWebServiceImpl
process
 
Methods inherited from class com.languagecomputer.api.BaseWebServiceImpl
registerSession, unregisterSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.languagecomputer.api.TemporalWebService
process
 
Methods inherited from interface com.languagecomputer.api.BaseWebService
registerSession, unregisterSession
 

Constructor Detail

TemporalWebServiceImpl

public TemporalWebServiceImpl(SessionManager sessionManager)
Creates a new TemporalWebServiceImpl using the given sessionManager.

Parameters:
sessionManager - The SessionManager to use for Session control.
Method Detail

getAnnotationService

protected AnnotationService getAnnotationService(String sessionID)
                                          throws Exception
Returns the TemporalService.

Specified by:
getAnnotationService in class BaseAnnotationWebServiceImpl
Parameters:
sessionID - The ID of the current Session.
Returns:
The Session's TemporalService instance.
Throws:
Exception - If an error occurs retrieving the service.

getAnnotationType

protected AnnotationType getAnnotationType()
Returns TemporalSpan.TYPE.

Specified by:
getAnnotationType in class BaseAnnotationWebServiceImpl
Returns:
TemporalSpan.TYPE.


Copyright © 2009. All Rights Reserved.