ObjectFactory for use with a JNDI service.See: Description
| Class | Description |
|---|---|
| OPDPFObjectFactory |
An implementation of
ObjectFactory that returns an OPartitionedDatabasePoolFactory instance in
response to a JNDI lookup. |
| OServerObjectFactory |
Return a singleton
OServer instance as a JNDI resource. |
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.
Copyright © 2016. All rights reserved.