code: public void addModule(Module module) {
  		if (module instanceof HttpAdapterAware) {
  			((HttpAdapterAware) module).setHttpAdapter(getHttpAdapter());
  		}
  		this.moduleRegistry.addModule(module);
  	}
docs: Adds the given module.
  
  @param module