org.datanucleus.store
Interface NucleusConnection

All Known Implementing Classes:
NucleusConnectionImpl

public interface NucleusConnection

Access to the underlying DataStore Connection.


Method Summary
 void close()
          Method to close the connection, handing it back to DataNucleus.
 java.lang.Object getNativeConnection()
          Accessor for the underlying connection.
 boolean isAvailable()
          Accessor for whether the connection is available.
 

Method Detail

getNativeConnection

java.lang.Object getNativeConnection()
Accessor for the underlying connection.

Returns:
The native connection

close

void close()
Method to close the connection, handing it back to DataNucleus.


isAvailable

boolean isAvailable()
Accessor for whether the connection is available.

Returns:
Whether it is available


Copyright © 2011. All Rights Reserved.