📄 iservercontextfactory.java
字号:
package com.esri.solutions.jitk.common.agslocal;
import com.esri.arcgis.server.IServerContext;
import java.util.Properties;
/**
* Defines an interface for implementing objects that want to
* create {@link IServerContext} instances.
*/
public interface IServerContextFactory {
/**
* Creates an {@link IServerContext} object.
*
* @return Reference to the {@link IServerContext} object.
* @throws FactoryException Thrown if there was a problem creating the
* {@link IServerContext} object.
*/
public IServerContext createServerContext() throws FactoryException;
/**
* Returns the {@link Properties} containing the connection details
* necessary for creating {@link IServerContext} objects.
*
* @return {@link Properties} containing the connection details.
*/
public Properties getConnectionInfo();
/**
* Sets the {@link Properties} containing the connection details
* necessary for creating {@link IServerContext} objects.
*
* @param props {@link Properties} containing the connection details.
*/
public void setConnectionInfo(Properties props);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -