com.ontotext.ordi.wsmo4rdf.remote.server
Class WsmoSourceServiceImpl
java.lang.Object
  
com.ontotext.ordi.wsmo4rdf.remote.server.WsmoSourceServiceImpl
- All Implemented Interfaces: 
 - WsmoSourceService
 
public class WsmoSourceServiceImpl
- extends Object
- implements WsmoSourceService
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
WsmoSourceServiceImpl
public WsmoSourceServiceImpl()
getConnection
public int getConnection(int wsmoSourceId)
                  throws NonExistingEntryException,
                         ServiceLimitExceededException
- Description copied from interface: 
WsmoSourceService 
- Creates locally a new 
WsmoConnection for a given
 WsmoSource and returns a unique integer identifier for later reference to this connection.
- Specified by:
 getConnection in interface WsmoSourceService
 
- Parameters:
 wsmoSourceId - integer identifier of existing WsmoSource instance
- Returns:
 - integer identifier of the created 
WsmoConnection
 - Throws:
 NonExistingEntryException - if WsmoSource instance with the given identifier does not exist
ServiceLimitExceededException - if no more WsmoConnections could be handled
 
 
getConnectionAuth
public int getConnectionAuth(int wsmoSourceId,
                             String user,
                             String pass)
                      throws NonExistingEntryException,
                             ServiceLimitExceededException,
                             AuthenticationFailedException
- Description copied from interface: 
WsmoSourceService 
- Same as 
WsmoSourceService.getConnection(int) but requires authentication
- Specified by:
 getConnectionAuth in interface WsmoSourceService
 
- Parameters:
 wsmoSourceId - integer identifier of existing WsmoSource instanceuser - String of the username part of the credentialspass - String of the password part of the credentials
- Returns:
 - integer identifier of the created 
WsmoConnection
 - Throws:
 NonExistingEntryException - if WsmoSource instance with the given identifier does not exist
ServiceLimitExceededException - if no more WsmoConnections could be handled
AuthenticationFailedException - if user was not authenticated with these credentials
 
 
clearWarnings
public void clearWarnings(int wsmoSourceId)
                   throws NonExistingEntryException
- Specified by:
 clearWarnings in interface WsmoSourceService
 
- Throws:
 NonExistingEntryException
 
shutdown
public void shutdown(int wsmoSourceId)
              throws NonExistingEntryException
- Specified by:
 shutdown in interface WsmoSourceService
 
- Throws:
 NonExistingEntryException
 
Copyright © 2008. All Rights Reserved.