com.esri.arcgis.geodatabasedistributed
Class WFSServer

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.WFSServer
All Implemented Interfaces:
IWFSServer, com.esri.arcgis.interop.RemoteObjRef, IServerObjectConfigurationManager, IServerObjectConfigurationManager2, IServerObjectExtension, ILogSupport, IObjectActivate, IObjectConstruct, IWebRequestHandler, java.io.Serializable

public class WFSServer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IServerObjectExtension, IObjectConstruct, IObjectActivate, ILogSupport, IWFSServer, IServerObjectConfigurationManager, IServerObjectConfigurationManager2, IWebRequestHandler

COM Class 'WFSServer'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabaseDistributed.olb'

Description 'The WFS Server Object Extension.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IObjectActivate
IID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IWFSServer
IID, IIDca2b76eb_ffe1_46d7_9e13_99a7184ab450, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfigurationManager2
IID, IID3130f209_598d_4269_b404_df6b13804742, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfigurationManager
IID181f5a7e_25c9_4fbf_9166_75d638acc930
 
Fields inherited from interface com.esri.arcgis.system.IWebRequestHandler
IID, IIDd1da21f3_9ec1_40bc_b8a2_cd29a1ebed8d, xxDummy
 
Constructor Summary
WFSServer()
          Constructs a WFSServer using ArcGIS Engine.
WFSServer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WFSServer theWFSServer = (WFSServer) obj;
 
Method Summary
 void activate()
          Activates the object.
 void beforeStart(IServerObjectAdmin pAdmin, IPropertySet props)
          Is called before the configuration is started.
 void beforeStop(IServerObjectAdmin pAdmin, IPropertySet props)
          Is called before the configuration is stopped.
 void construct(IPropertySet props)
          Two phase object construction.
 void deactivate()
          Deactivates the object.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getData(int httpVerb, java.lang.String request)
          Handle a WFS request.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 byte[] handleStringWebRequest(int httpMethod, java.lang.String requestURL, java.lang.String queryString, java.lang.String capabilities, java.lang.String requestData, java.lang.String[] responseContentType, int[] respDataType)
          Handles a request with explicit capabilities.
 int hashCode()
          the hashcode for this object
 void init(IServerObjectHelper pSOH)
          Initializes and starts the server object specified by the IServerObjectHelper reference.
 void initLogging(ILog log)
          Initializes an object with a log.
 IPropertySet onAdd(IPropertySet pProps)
          Is called when the configuration is added.
 void onRemove()
          Is called when the configuration is removed.
 void onRemoveEx(IServerObjectAdmin pAdmin, IPropertySet props)
          Is called when the configuration is removed.
 void onStart(IServerObjectAdmin pAdmin, IPropertySet pProps)
          Is called when the configuration is started.
 void onStop(IServerObjectAdmin pAdmin, IPropertySet pProps)
          Is called when the configuration is stopped.
 void release()
          Release a WFSServer.
 void setParameter(java.lang.String name, java.lang.String value)
          Handle setting WFS Server parameter.
 void shutdown()
          Stops the server object specified by the IServerObjectHelper reference.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WFSServer

public WFSServer()
          throws java.io.IOException,
                 java.net.UnknownHostException
Constructs a WFSServer using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

WFSServer

public WFSServer(java.lang.Object obj)
          throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WFSServer theWFSServer = (WFSServer) obj;

Construct a WFSServer using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to WFSServer.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a WFSServer.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

init

public void init(IServerObjectHelper pSOH)
          throws java.io.IOException,
                 AutomationException
Initializes and starts the server object specified by the IServerObjectHelper reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
init in interface IServerObjectExtension
Parameters:
pSOH - A reference to a com.esri.arcgis.server.IServerObjectHelper (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Stops the server object specified by the IServerObjectHelper reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
shutdown in interface IServerObjectExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

construct

public void construct(IPropertySet props)
               throws java.io.IOException,
                      AutomationException
Two phase object construction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
construct in interface IObjectConstruct
Parameters:
props - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate()
              throws java.io.IOException,
                     AutomationException
Activates the object.

Specified by:
activate in interface IObjectActivate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public void deactivate()
                throws java.io.IOException,
                       AutomationException
Deactivates the object.

Specified by:
deactivate in interface IObjectActivate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initLogging

public void initLogging(ILog log)
                 throws java.io.IOException,
                        AutomationException
Initializes an object with a log.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
initLogging in interface ILogSupport
Parameters:
log - A reference to a com.esri.arcgis.system.ILog (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getData

public java.lang.String getData(int httpVerb,
                                java.lang.String request)
                         throws java.io.IOException,
                                AutomationException
Handle a WFS request.

Specified by:
getData in interface IWFSServer
Parameters:
httpVerb - A com.esri.arcgis.geodatabasedistributed.esriWFSHttpVerb constant (in)
request - The request (in)
Returns:
The responseUrl
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String value)
                  throws java.io.IOException,
                         AutomationException
Handle setting WFS Server parameter.

Specified by:
setParameter in interface IWFSServer
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onAdd

public IPropertySet onAdd(IPropertySet pProps)
                   throws java.io.IOException,
                          AutomationException
Is called when the configuration is added.

Specified by:
onAdd in interface IServerObjectConfigurationManager
Parameters:
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRemove

public void onRemove()
              throws java.io.IOException,
                     AutomationException
Is called when the configuration is removed.

Specified by:
onRemove in interface IServerObjectConfigurationManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStart

public void onStart(IServerObjectAdmin pAdmin,
                    IPropertySet pProps)
             throws java.io.IOException,
                    AutomationException
Is called when the configuration is started.

Specified by:
onStart in interface IServerObjectConfigurationManager2
Parameters:
pAdmin - A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStop

public void onStop(IServerObjectAdmin pAdmin,
                   IPropertySet pProps)
            throws java.io.IOException,
                   AutomationException
Is called when the configuration is stopped.

Specified by:
onStop in interface IServerObjectConfigurationManager2
Parameters:
pAdmin - A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRemoveEx

public void onRemoveEx(IServerObjectAdmin pAdmin,
                       IPropertySet props)
                throws java.io.IOException,
                       AutomationException
Is called when the configuration is removed.

Specified by:
onRemoveEx in interface IServerObjectConfigurationManager2
Parameters:
pAdmin - A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)
props - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeStart

public void beforeStart(IServerObjectAdmin pAdmin,
                        IPropertySet props)
                 throws java.io.IOException,
                        AutomationException
Is called before the configuration is started.

Specified by:
beforeStart in interface IServerObjectConfigurationManager2
Parameters:
pAdmin - A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)
props - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeStop

public void beforeStop(IServerObjectAdmin pAdmin,
                       IPropertySet props)
                throws java.io.IOException,
                       AutomationException
Is called before the configuration is stopped.

Specified by:
beforeStop in interface IServerObjectConfigurationManager2
Parameters:
pAdmin - A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)
props - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleStringWebRequest

public byte[] handleStringWebRequest(int httpMethod,
                                     java.lang.String requestURL,
                                     java.lang.String queryString,
                                     java.lang.String capabilities,
                                     java.lang.String requestData,
                                     java.lang.String[] responseContentType,
                                     int[] respDataType)
                              throws java.io.IOException,
                                     AutomationException
Handles a request with explicit capabilities.

Specified by:
handleStringWebRequest in interface IWebRequestHandler
Parameters:
httpMethod - A com.esri.arcgis.system.esriHttpMethod constant (in)
requestURL - The requestURL (in)
queryString - The queryString (in)
capabilities - The capabilities (in)
requestData - The requestData (in)
responseContentType - The responseContentType (out: use single element array)
respDataType - A com.esri.arcgis.system.esriWebResponseDataType constant (out: use single element array)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.