com.esri.arcgis.framework
Class AppROT

java.lang.Object
  extended by com.esri.arcgis.framework.AppROT
All Implemented Interfaces:
IConnectionPointContainer, IAppROT, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class AppROT
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAppROT, IConnectionPointContainer

COM Class 'AppROT'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriFramework.olb'

Description 'Esri application running object table.' 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.framework.IAppROT
IID, IIDfabc30f9_d273_11d2_9f36_00c04f6bc61a, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy
 
Constructor Summary
AppROT()
          Constructs a AppROT using ArcGIS Engine.
AppROT(java.lang.Object obj)
          Construct a AppROT using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 int add(IApplication pApp)
          Adds an application reference to the running object table.
 void addIAppROTEventsListener(IAppROTEvents theListener)
          addIAppROTEventsListener.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The count of application references within the running object table.
 IApplication getItem(int index)
          The application reference at the specified index in the running object table.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a AppROT.
 void remove(int cookie)
          Removes an application reference from the running object table.
 void removeIAppROTEventsListener(IAppROTEvents theListener)
          removeIAppROTEventsListener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppROT

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

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

AppROT

public AppROT(java.lang.Object obj)
       throws java.io.IOException
Construct a AppROT using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AppROT.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems AppROT theAppROT = (AppROT) obj;
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

addIAppROTEventsListener

public void addIAppROTEventsListener(IAppROTEvents theListener)
                              throws java.io.IOException
addIAppROTEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.framework.IAppROTEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeIAppROTEventsListener

public void removeIAppROTEventsListener(IAppROTEvents theListener)
                                 throws java.io.IOException
removeIAppROTEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.framework.IAppROTEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a AppROT.

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

add

public int add(IApplication pApp)
        throws java.io.IOException,
               AutomationException
Adds an application reference to the running object table.

Specified by:
add in interface IAppROT
Parameters:
pApp - A reference to a com.esri.arcgis.framework.IApplication (in)
Returns:
The cookie
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int cookie)
            throws java.io.IOException,
                   AutomationException
Removes an application reference from the running object table.

Specified by:
remove in interface IAppROT
Parameters:
cookie - The cookie (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The count of application references within the running object table.

Specified by:
getCount in interface IAppROT
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItem

public IApplication getItem(int index)
                     throws java.io.IOException,
                            AutomationException
The application reference at the specified index in the running object table.

Specified by:
getItem in interface IAppROT
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.framework.IApplication
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws java.io.IOException,
                                 AutomationException
enumConnectionPoints

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws java.io.IOException,
                                AutomationException
findConnectionPoint

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.