org.openanzo.services
Interface IService

All Known Subinterfaces:
IAuthenticationService, IModelService, INotificationService, IReplicationService
All Known Implementing Classes:
EmbeddedAuthenticationService, EmbeddedModelService, EmbeddedNotificationService, EmbeddedReplicationService, JMSNotificationService, WSAuthenticationService, WSModelService, WSReplicationService

public interface IService

Base service interface that other services must implement

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Method Summary
 java.lang.String getServicePassword()
          Get the Password for the current thread
 java.lang.String getServiceUser()
          Get the UserId for the current thread
 void setServicePassword(java.lang.String password)
          Set the password for the current thread's operations
 void setServiceUser(java.lang.String userId)
          Set the UserID for the current thread's operations
 

Method Detail

setServiceUser

void setServiceUser(java.lang.String userId)
Set the UserID for the current thread's operations

Parameters:
userId - UserId to use in current thread's operations

getServiceUser

java.lang.String getServiceUser()
Get the UserId for the current thread

Returns:
the UserId for the current thread

setServicePassword

void setServicePassword(java.lang.String password)
Set the password for the current thread's operations

Parameters:
password - Password to use in current thread's operations

getServicePassword

java.lang.String getServicePassword()
Get the Password for the current thread

Returns:
the Password for the current thread


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.