mirror of
https://github.com/Estom/notes.git
synced 2026-02-05 19:43:57 +08:00
Java内容重新整理删除过期的东西
This commit is contained in:
19
Java/JavaDemo/codedemo/java/rmi/UserService.java
Normal file
19
Java/JavaDemo/codedemo/java/rmi/UserService.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package cn.aofeng.demo.java.rmi;
|
||||
|
||||
import java.rmi.Remote;
|
||||
import java.rmi.RemoteException;
|
||||
|
||||
/**
|
||||
* 用户信息服务。
|
||||
*
|
||||
* @author <a href="mailto:aofengblog@163.com">聂勇</a>
|
||||
*/
|
||||
public interface UserService extends Remote {
|
||||
|
||||
public User findByName(String name) throws RemoteException;
|
||||
|
||||
public User findById(String id) throws RemoteException;
|
||||
|
||||
public boolean add(User user) throws RemoteException;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user