|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.datasourcesGDB.IDataServerManagerProxy
Initializes DataServerManager object.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IDataServerManagerProxy()
For internal use only |
|
IDataServerManagerProxy(java.lang.Object obj)
|
protected |
IDataServerManagerProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IDataServerManagerProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IDataServerManagerProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
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 |
connect()
Connects to an initialized Data Server. |
java.lang.String |
createConnectionFile(java.lang.String pathName,
java.lang.String serverName)
Create a Data Server connection file |
void |
disconnect()
Disconnects from the Data Server. |
int |
getAvailableMemory()
Returns the total available memory (MB). |
int |
getDataServerClass()
Returns the server class. |
int |
getDataServerType()
Returns the type of data server. |
java.lang.String |
getProductName()
Returns the product name. |
java.lang.String |
getProductVersion()
Returns the product version. |
java.lang.String |
getServerName()
Sets the data server name. |
void |
initFromFile(java.lang.String gdsFileName)
Initializes a saved connection to the GIS Data Server. |
boolean |
isConnected()
Gets whether the server is connected or not |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
setServerName(java.lang.String serverName)
Sets the data server name. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public IDataServerManagerProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IDataServerManagerProxy()
public IDataServerManagerProxy(java.lang.Object obj)
throws java.io.IOException
protected IDataServerManagerProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IDataServerManagerProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class DispatchiidStr - 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 events
java.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the events
java.io.IOException
public void connect()
throws java.io.IOException,
AutomationException
IDataServerManagerThis function connects to a Database Server.
The DataServerManager must be initialized by using put_ServerName or InitFromFile. You must already be a user on the server, with the appropriate permissions, in order to connect to it.
connect in interface IDataServerManagerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void disconnect()
throws java.io.IOException,
AutomationException
IDataServerManagerThis function disconnects from a Database Server.
disconnect in interface IDataServerManagerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setServerName(java.lang.String serverName)
throws java.io.IOException,
AutomationException
IDataServerManager
setServerName in interface IDataServerManagerserverName - The serverName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getServerName()
throws java.io.IOException,
AutomationException
IDataServerManagerThe ServerName property is used to return or set the name of the server of the Data Server Manager, for example; “myserver/sqlexpress”. The ServerName value is used with the CreateConnectionFile method. Setting the ServerName property is one method for initializing the DataServerManager before connecting to the Database Server.
getServerName in interface IDataServerManagerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void initFromFile(java.lang.String gdsFileName)
throws java.io.IOException,
AutomationException
IDataServerManagerThis method initializes a Data Server from a Database Server connection file (.gds).
The .gds file is created using the Add Database Server option in ArcCatalog, or the CreateConnectionFile method.
initFromFile in interface IDataServerManagergdsFileName - The gdsFileName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String createConnectionFile(java.lang.String pathName,
java.lang.String serverName)
throws java.io.IOException,
AutomationException
IDataServerManagerCreates a Database Server connection file (.gds).
createConnectionFile in interface IDataServerManagerpathName - The pathName (in)serverName - The serverName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isConnected()
throws java.io.IOException,
AutomationException
IDataServerManager
isConnected in interface IDataServerManagerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getDataServerType()
throws java.io.IOException,
AutomationException
IDataServerManagerThis method returns the type of the database server (DataServerType).
getDataServerType in interface IDataServerManagerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getProductName()
throws java.io.IOException,
AutomationException
IDataServerManagerThis method returns the product name for the underlying database server. For example; “Microsoft SQL Server Express Edition”.
getProductName in interface IDataServerManagerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getProductVersion()
throws java.io.IOException,
AutomationException
IDataServerManagerThis return returns the version of the underlying database server. For example; “9.00.1399.06”.
getProductVersion in interface IDataServerManagerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getAvailableMemory()
throws java.io.IOException,
AutomationException
IDataServerManagerThis function returns the available physical RAM on the database server. This is the total memory that is available to the database server, including memory that may already be in use, either by the database server or other applications.
getAvailableMemory in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDataServerClass()
throws java.io.IOException,
AutomationException
IDataServerManager
getDataServerClass in interface IDataServerManagerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||