com.ontotext.ordi.wsmo4rdf.remote.server
Class RemoteFactoryImpl
java.lang.Object
  
com.ontotext.ordi.wsmo4rdf.remote.server.RemoteFactoryImpl
- All Implemented Interfaces: 
 - RemoteFactory
 
public class RemoteFactoryImpl
- extends Object
- implements RemoteFactory
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RemoteFactoryImpl
public RemoteFactoryImpl()
getNewWsmoSource
public int getNewWsmoSource(String sourceName)
                     throws ServiceLimitExceededException,
                            IllegalSourceNameException
- Description copied from interface: 
RemoteFactory 
- Creates locally a new 
WsmoSource with an integer identifier to
 access it later.
- Specified by:
 getNewWsmoSource in interface RemoteFactory
 
- Parameters:
 sourceName - an alphanumeric name of the WsmoSource by which the client identifies
                sources persisted between 2 executions of ORDI-WS
- Returns:
 - integer identifier of the created WsmoSource
 - Throws:
 ServiceLimitExceededException - if no more WsmoSources could be handled
IllegalSourceNameException - if sourceName is not an alphanumeric string
 
 
destroyWsmoSource
public boolean destroyWsmoSource(int wsmoSourceId)
- Description copied from interface: 
RemoteFactory 
- Destroys the local 
WsmoSource corresponding to the provided
 identifier.
- Specified by:
 destroyWsmoSource in interface RemoteFactory
 
- Parameters:
 wsmoSourceId - integer identifier of a WsmoSource to be
                destroyed.
- Returns:
 - true if a 
WsmoSource of the given
         identifier exists and was destroyed and false otherwise 
 
 
Copyright © 2008. All Rights Reserved.