|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.NucleusConnectionImpl
public class NucleusConnectionImpl
Representation of a datastore connection. Provides access to the native connection for the datastore.
| Field Summary | |
|---|---|
protected static Localiser |
LOCALISER
Localisation utility for output messages |
| Constructor Summary | |
|---|---|
NucleusConnectionImpl(java.lang.Object conn,
java.lang.Runnable onClose)
Constructor for a datastore connection holder. |
|
| Method Summary | |
|---|---|
void |
close()
Method to close the connection. |
java.lang.Object |
getNativeConnection()
Accessor for the native connection for this datastore. |
| 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
| Constructor Detail |
|---|
public NucleusConnectionImpl(java.lang.Object conn,
java.lang.Runnable onClose)
conn - The native connectiononClose - What to perform on closure| Method Detail |
|---|
public void close()
close in interface NucleusConnectionNucleusUserException - Thrown if the connection is no longer available.public java.lang.Object getNativeConnection()
getNativeConnection in interface NucleusConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||