iservercontextfactory.java
来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 38 行
JAVA
38 行
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 + =
减小字号Ctrl + -
显示快捷键?