com.bitplan.mediawiki.guice.ComBITPlanWikiModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediawiki-japi Show documentation
Show all versions of mediawiki-japi Show documentation
Java library to call Mediawiki API described at http://www.mediawiki.org/wiki/API:Main_page
/**
* Copyright (C) 2015 BITPlan GmbH
*
* Pater-Delp-Str. 1
* D-47877 Willich-Schiefbahn
*
* http://www.bitplan.com
*
* This source is part of
* https://github.com/WolfgangFahl/Mediawiki-Japi
* and the license for Mediawiki-Japi applies
*
*/
package com.bitplan.mediawiki.guice;
import com.bitplan.mediawiki.japi.MediawikiApi;
import com.google.inject.AbstractModule;
/**
* Guice Module to use the wrapper {@link com.bitplan.mediawiki.japi.Mediawiki}
* as the implementation for the
* {@link com.bitplan.mediawiki.japi.MediawikiApi} interface
*
* @author wf
*
*/
public class ComBITPlanWikiModule extends AbstractModule {
@Override
protected void configure() {
bind(MediawikiApi.class).to(com.bitplan.mediawiki.japi.Mediawiki.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy