Traditional Apps
The Mapping
this.mappings[ '/cfcouchbase' ] = 'C:\path\to\cfcouchbase';public boolean function onApplicationStart(){
application.couchbase = new cfcouchbase.CouchbaseClient();
return true;
}WireBox
// Map our Couchbase Client via WireBox Binder
map( "CouchbaseClient" )
.to( "cfcouchbase.CouchbaseClient" )
.initArg( name="config", value={} )
.asSingleton();Shutting Down The Client
Last updated
Was this helpful?