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

📄 iservercontextfactory.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 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 + -