1 /****************************************************************************** 2 * UserFactory.java - Create a User 3 * 4 * BSAccount - BuckoSoft Web Account Manager 5 * Copyright(c) 2007 - Dick Balaska and BuckoSoft, Corp. 6 * 7 */ 8 package com.buckosoft.BSAccount.domain; 9 10 11 /** Calling program must provide a method to create a new User. 12 * Typically, you would subclass BSAccountUser and return one of them. 13 * @author Dick Balaska 14 * 15 */ 16 public interface UserFactory { 17 BSAccountUser getNewUser(); 18 BSAccountUser getUser(BSAccount account); 19 20 BSAccountUserWebSession getNewUserWebSession(BSAccountUser user); 21 22 }