Morphia IoC 1.0.2IoC Contributions for Mongo and Morphia
Morphia IoC defines IoC services and contributions for the afMorphia and afMongo libraries.
It provides injectable instances of:
For afMongo:
MongoClient
MongoColl
MongoConnMgr
MongoDb
MongoSeqs
For afMorphia:
BsonConvs
Datastore
Morhpia
All that is required, is an IocConfig
contribution for "afMorphia.mongoUrl"
.
Install
To install Morphia IoC with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install Morphia IoC with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use Morphia IoC in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afMorphiaIoc 1.0.2 - 1.0"]
Documentation
Information
Meta information on the Morphia IoC pod:
- Published by
- Steve Eynon
- Organisation
- Fantom-Factory Ltd
- Pod file size
- 17.97 kB
- Licence
- ISC
- Built on
- 29th May 2022
- Source code
- via Git at https://github.com/Fantom-Factory/afMorphiaIoc
- Depends on
- afBson, afConcurrent, afIoc, afIocConfig, afMongo, afMorphia, concurrent, sys
- Referenced by
- afEggbox
- Javascript Compatible
- No
Dependency Graph
Use mouse to re-position pods
Release History
There have been 2 releases of Morphia IoC: