SessionManagerFactory.java :  » Web-Framework » rife-1.6.1 » com » uwyn » rife » authentication » sessionmanagers » Java Open Source

Java Open Source » Web Framework » rife 1.6.1 
rife 1.6.1 » com » uwyn » rife » authentication » sessionmanagers » SessionManagerFactory.java
/*
 * Copyright 2001-2007 Steven Grimm <koreth[remove] at midwinter dot com> and
 * Geert Bevin <gbevin[remove] at uwyn dot com>
 * Distributed under the terms of either:
 * - the common development and distribution license (CDDL), v1.0; or
 * - the GNU Lesser General Public License, v2.1 or later
 * $Id$
 */
package com.uwyn.rife.authentication.sessionmanagers;

import com.uwyn.rife.authentication.SessionManager;
import com.uwyn.rife.ioc.HierarchicalProperties;
import com.uwyn.rife.ioc.exceptions.PropertyValueException;

/**
 * Classes that generate SessionManager objects implement this interface.
 *
 * @author Steven Grimm (koreth[remove] at midwinter dot com)
 * @author Geert Bevin (gbevin[remove] at uwyn dot com)
 * @version $Revision: $
 * @see SessionManager
 * @since 1.6
 */
public interface SessionManagerFactory
{
  /**
   * Returns the manager specified by properties.
   * <p>
   * The specific properties that are used are determined by the
   * implementation class.
   *
   * @param properties the properties that will setup the manager
   * @throws PropertyValueException when an error occurred during the retrieval
   * of the property values
   * @since 1.6
   */
  public SessionManager getManager(HierarchicalProperties properties) throws PropertyValueException;
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.