Skip navigation links

Package com.ashtonit.odb.jndi

This package provides two classes that extend ObjectFactory for use with a JNDI service.

See: Description

Package com.ashtonit.odb.jndi Description

This package provides two classes that extend ObjectFactory for use with a JNDI service. OPDPFObjectFactory provides an OPartitionedDatabasePoolFactory singleton instance and OServerObjectFactory provides an OServer singleton instance.

If running OrientDB embedded, it is important to declare the OServer resource and configure OServer#shutdown() as the close method. This allows the database to be taken down cleanly whenever the web application is redeployed or stopped.

Author:
Bruce Ashton
Skip navigation links

Copyright © 2016. All rights reserved.