|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opnworks.timesheet.client.PersistenceGateway
This class is used as a persistence gateway for the timesheet system. It knows about the persustence layer and is used to initialize and configure it.
| Field Summary | |
static java.lang.String |
HIBERNATE_CONNECTION_DRIVER_CLASS
Description of the Field |
static java.lang.String |
HIBERNATE_CONNECTION_PASSWORD
Description of the Field |
static java.lang.String |
HIBERNATE_CONNECTION_URL
Description of the Field |
static java.lang.String |
HIBERNATE_CONNECTION_USERNAME
Description of the Field |
static java.lang.String |
HIBERNATE_DIALECT
Description of the Field |
| Method Summary | |
static PersistenceGateway |
instance()
Description of the Method |
boolean |
isConnected()
Gets the Connected attribute of the PersistenceGateway object |
static boolean |
isInitialized()
Return true is the gateway is initilaized |
void |
redeployEmbeddedDatabaseFiles()
|
void |
shutdown()
Shutdown |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String HIBERNATE_DIALECT
public static final java.lang.String HIBERNATE_CONNECTION_DRIVER_CLASS
public static final java.lang.String HIBERNATE_CONNECTION_USERNAME
public static final java.lang.String HIBERNATE_CONNECTION_PASSWORD
public static final java.lang.String HIBERNATE_CONNECTION_URL
| Method Detail |
public boolean isConnected()
public void shutdown()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void redeployEmbeddedDatabaseFiles()
throws java.io.IOException,
org.eclipse.core.runtime.CoreException
java.io.IOException - Description of Exception
org.eclipse.core.runtime.CoreException - Description of Exceptionpublic static PersistenceGateway instance()
public static boolean isInitialized()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||