/* **************************************************************************

  $Archive: /njcl_v2rmi/src/com/novell/service/session/spi/SessionManagerService.java $
  $Revision: 8 $
  $Modtime: 11/10/00 4:57p $

  Copyright (c) 1997 Novell, Inc.  All Rights Reserved.

  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
  CRIMINAL AND CIVIL LIABILITY.

****************************************************************************/
package com.novell.service.session.spi;

import com.novell.service.session.*;
import java.rmi.*;

/** @internal
 * Server-side class handles creating new session managers
 */
public interface SessionManagerService extends Remote
{
   /**
    * Returns new SessionManager.
    */
   public SessionManager getSessionManager
   (
      SessionEnv environment,
      int scope
   )
   throws SessionException, RemoteException;

   /**
    * NOT IMPLEMENTED
    */
   public SessionManager getWorkstationSessionManager
   (
      SessionEnv environment,
      int scope
   )
   throws SessionException, RemoteException;
}

