package noriega.expresso.server;
import java.rmi.*;
import java.util.*;
/*
* Copyright (c) 1999 Noriega
*
* $Author: ngreen $
* $Date: 1999/04/07 21:53:54 $
* $Id: ServiceDirectory.java,v 1.4 1999/04/07 21:53:54 ngreen Exp $
*/
/**
* This remote interface is the gateway to all ExpressoService
s
* offered by the ExpressoServer
. A user obtains a remote
* reference to an implementor of this interface via the login sequence on
* the ExpressoServer
. Once they have this object, they can
* use it to obtain the names of all available remote services, and remote
* references to them.
*
* @author $Author: ngreen $
* Date: $Date: 1999/04/07 21:53:54 $
*/
public interface ServiceDirectory extends ExpressoService {
// ------------ METHODS ------------
/** @return a Set
of String
names of all
* available services.
* @exception RemoteException some kind of RMI problem
*/
public Set getServiceNames () throws RemoteException;
/** Get a remote reference to a specific service offered to the user.
* @param serviceName the name of the requested service
* @return a remote reference to the desired service
* @exception ExpressoServerException an application error
* @exception RemoteException some kind of RMI problem
*/
public ExpressoService getService (String serviceName)
throws RemoteException, ExpressoServerException;
}
/*
* Version Control Log:
* $Log: ServiceDirectory.java,v $
* Revision 1.4 1999/04/07 21:53:54 ngreen
* fully javadoc'd
*
* Revision 1.3 1999/04/05 22:55:25 ngreen
* should have extended ExpressoService a long time ago
*
* Revision 1.2 1999/04/03 16:28:15 ngreen
* added much implementation
*
* Revision 1.1 1999/03/22 16:05:29 ngreen
* initial checkin
*
*/