⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 repository.java

📁 这是linux下ssl vpn的实现程序
💻 JAVA
字号:
package com.sslexplorer.boot;


/**
 * An abstract collection of {@link com.sslexplorer.boot.RepositoryStore} objects.
 * <p>
 * The concept of a <i>Repository</i> has been introduced to SSL-Explorer to
 * deal with the fact that at some point we will want to introduce load
 * balancing and fail-over facilities to the server.
 * <p>
 * Some key artifacts outside of the {@link com.sslexplorer.core.Database} 
 * implementations should also be shared amongst all instances that may
 * be running on a network of SSL-Explorer servers. These include 
 * {@link com.sslexplorer.boot.KeyStoreManager} instances, 
 * {@link com.sslexplorer.extensions.store.ExtensionStore} instances and 
 * others.
 * <p>
 * Each repository implementation should be able to handle multiple stores.
 * Each of these named stores then may contain multiple named <i>Entries</i>.
 * Each entry is simply of blob of data that may be written to and read from
 * using I/O streams. 
 * 
 * @author Lee David Painter <a href="mailto: lee@3sp.com">&lt;lee@3sp.com&gt;</a>
 * @version $Revision: 1.1 $
 * @see com.sslexplorer.boot.RepositoryFactory
 * @see com.sslexplorer.boot.LocalRepository
 * @see com.sslexplorer.boot.RepositoryStore
 */
public interface Repository {
	
    /**
     * Get a store instance given its name. If the store does not exists then the
     * implementation should create it. The same instance should be returned
     * for every subsequent call.
     *  
     * @param storeName store name
     * @return store instance
     */
	public RepositoryStore getStore(String storeName);
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -