users
Class  UserCreator
java.lang.Object
  |
  +--users.UserCreator
- public class UserCreator
- extends Object
- implements Serializable
   
A factory that can create User objects.
- Since:
 - v2.0
 
- Version:
 - 2.0 05/05/1999
 
- Author:
 - Steffen Zschaler
 
- See Also:
 User, 
UserManager.createUser(java.lang.String), Serialized Form
 
| 
Method Summary | 
 User | 
createUser(String sName)
 
          Create and return a new User object for the given name. | 
 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
 
UserCreator
public UserCreator()
createUser
public User createUser(String sName)
- Create and return a new 
User object for the given name.
 The default implementation creates and returns a direct instance of User.
- Override:
 - Sometimes.
-  Override this method if you want the 
UserManager to
 create instances of subclasses of User rather than direct
 instances.  - Parameters:
 sName - the name of the user to be created.- Returns:
 - the new User object. Must not be 
null.