It doesn't need to be on the interface, to be used by the template 
stuff. The driver is given the concrete instance of CouchDBImpl, which 
is also passed to the template engine. So if the template says 
"entity.httpPort", you just need the getHttpPort() method on CouchDBImpl 
- i.e. not on the interface.