📄 servicelocator.java
字号:
/**
* JCatalog Project
*/
package catalog.view.servicelocator;
import catalog.model.service.CatalogService;
import catalog.model.service.UserService;
/**
* Interface needs to be implemented by ServiceLocator.
* <p>
* ServiceLocator is used to lookup for business services.
*
* @author <a href="mailto:derek_shen@hotmail.com">Derek Y. Shen</a>
*/
public interface ServiceLocator {
/**
* Get the <code>CatalogService</code>.
*
* @return the catalog service
*/
public CatalogService getCatalogService();
/**
* Get the <code>UserService</code>.
*
* @return the user service
*/
public UserService getUserService();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -