public class IServerCapabilityProxy extends com.esri.arcgis.interop.Dispatch implements IServerCapability, java.io.Serializable
Description: 'Provides access to members that supply utility network server capability information.' 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 =
Modifier and Type | Field and Description |
---|---|
boolean |
noncastable |
static java.lang.Class |
targetClass |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IID6612aefb_4488_46fb_8b07_409546afc538
Modifier | Constructor and Description |
---|---|
|
IServerCapabilityProxy()
For internal use only
|
|
IServerCapabilityProxy(java.lang.Object obj) |
protected |
IServerCapabilityProxy(java.lang.Object obj,
java.lang.String iid) |
|
IServerCapabilityProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
protected |
IServerCapabilityProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
void |
getCapabilities(ILongArray[] supportedCapabilities,
ILongArray[] unsupportedCapabilities)
Returns the supported and/or unsupported capabilities.
|
boolean |
isCapabilitySupported(int capability)
Returns whether the given capability is supported.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
public static final java.lang.Class targetClass
public boolean noncastable
public IServerCapabilityProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IServerCapabilityProxy()
public IServerCapabilityProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IServerCapabilityProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IServerCapabilityProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public void getCapabilities(ILongArray[] supportedCapabilities, ILongArray[] unsupportedCapabilities) throws java.io.IOException, AutomationException
getCapabilities
in interface IServerCapability
supportedCapabilities
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)unsupportedCapabilities
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCapabilitySupported(int capability) throws java.io.IOException, AutomationException
isCapabilitySupported
in interface IServerCapability
capability
- A com.esri.arcgis.geodatabase.esriServerCapability constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.