测试我的第一篇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;

浙公网安备 33010602011771号