heihei

博客园 首页 新随笔 联系 订阅 管理

测试我的第一篇Blog

   /**
     * <p>Finalize access to the underlying persistence layer.</p>
     *
     * @exception Exception if a database access error occurs
     
*/

    
public void close() throws Exception;


    
/**
     * <p>Return the existing {@link User} with the specified username,
     * if any; otherwise return <code>null</code>.</p>
     *
     * @param username Username of the user to retrieve
     
*/

    
public User findUser(String username);


    
/**
     * <p>Return the set of {@link User}s defined in this user database.</p>
     
*/

    
public User[] findUsers();


    
/**
     * <p>Initiate access to the underlying persistence layer.</p>
     *
     * @exception Exception if a database access error occurs
     
*/

    
public void open() throws Exception;
posted on 2004-07-30 21:03  heiheihei  阅读(112)  评论(0)    收藏  举报