|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.jdo.JDOConnectionImpl
public class JDOConnectionImpl
Implementation of a generic JDO connection for non-RDBMS datastores. Takes the NucleusConnection as input, providing all behaviour and closure of underlying connections.
| Field Summary | |
|---|---|
protected static Localiser |
LOCALISER
Localisation utility for output messages |
protected NucleusConnection |
nucConn
Underlying NucleusConnection providing the connection. |
| Constructor Summary | |
|---|---|
JDOConnectionImpl(NucleusConnection nconn)
Constructor taking the underlying NucleusConnection that provides the datastore access. |
|
| Method Summary | |
|---|---|
void |
close()
Method to close the connection. |
java.lang.Object |
getNativeConnection()
Accessor for the native connection for this datastore. |
protected void |
throwExceptionNotAvailable()
Throw a JDOUserException that the connection is no longer available |
protected void |
throwExceptionUnsupportedOperation(java.lang.String methodName)
Convenience method that throws a JDOUserException that the specified method name is not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Localiser LOCALISER
protected NucleusConnection nucConn
| Constructor Detail |
|---|
public JDOConnectionImpl(NucleusConnection nconn)
nconn - Underlying connection| Method Detail |
|---|
public void close()
close in interface javax.jdo.datastore.JDOConnectionpublic java.lang.Object getNativeConnection()
getNativeConnection in interface javax.jdo.datastore.JDOConnectionprotected void throwExceptionNotAvailable()
javax.jdo.JDOUserExceptionprotected void throwExceptionUnsupportedOperation(java.lang.String methodName)
methodName - Name of the method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||