|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.beans.database.HWMStartDBComm
public class HWMStartDBComm
Title: HWMStartDBComm
Description: This class provides the actual functionality of initializing the database. This can be used by beans that needs the functionality of DBStart bean with some extra functionalities.
Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
HWMStartDBComm(HWMCommMgr hwmCommMgr)
Constructor. |
Method Summary | |
---|---|
void |
Connect(java.lang.String strDBType,
java.lang.String strSession,
java.lang.String strServer,
int nPort,
java.lang.String strDBURL)
Initializes the DM. |
void |
Connect(java.lang.String strDBType,
java.lang.String strSession,
java.lang.String strServer,
int nPort,
java.lang.String strDBURL,
java.lang.String strUser,
java.lang.String strPwd)
Initializes the DM. |
void |
RetrieveDataModel()
Retrieve the data model |
void |
ShutdownDBClient()
Closes the DB using the session name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMStartDBComm(HWMCommMgr hwmCommMgr)
hwmCommMgr
- The communication manager wqhich facilitates the
communication with DM serverMethod Detail |
---|
public void Connect(java.lang.String strDBType, java.lang.String strSession, java.lang.String strServer, int nPort, java.lang.String strDBURL) throws java.lang.Exception
strDBType
- The type of DB. One of the DBTYPE_XXX strings from
HWMDatabaseInfo classstrSession
- Session namestrServer
- The server addressnPort
- The port numberstrDBURL
- The URL for the database
java.lang.Exception
- thrown if the command fails. "getMessage" will
give the description of the error that occuredpublic void Connect(java.lang.String strDBType, java.lang.String strSession, java.lang.String strServer, int nPort, java.lang.String strDBURL, java.lang.String strUser, java.lang.String strPwd) throws java.lang.Exception
strDBType
- The type of DB. One of the DBTYPE_XXX strings from
HWMDatabaseInfo classstrSession
- Session namestrServer
- The server addressnPort
- The port numberstrDBURL
- The URL for the databasestrUser
- The user name (which could be null)strPwd
- The password for the user
java.lang.Exception
- thrown if the command fails. "getMessage" will
give the description of the error that occuredpublic void RetrieveDataModel() throws java.lang.Exception
java.lang.Exception
public void ShutdownDBClient()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |