{% extends "../../layout.html" %} {% block sectionClasses %}plugins hasBreadCrumb plugins-spincast-config {% endblock %} {% block meta_title %}Plugins - Spincast Config{% endblock %} {% block meta_description %}Spincast Config plugin provides the default configurations required by Spincast.{% endblock %} {% block scripts %} {% endblock %} {% block body %}

Overview

This plugin provides a default implementation for the SpincastConfig interface : SpincastConfigDefault. The implementation is very simple : the default configurations are simply hardcoded.

A small Default Configurations section of the documentation introduces the most important configurations. Also, have a look at the source code of SpincastConfigDefault to see what the default values are.

Finally, notice that if you want to be able to configure your application using a .properties file, you may be interested by the Spincast Properties File Config plugin.

Installation

If you use the spincast-default artifact and the standard Bootstrapper, this plugin is already installed by default so you have nothing to do!

If you start from scratch, using the spincast-core artifact, you can use the plugin by :

1. Adding this Maven artifact to your project:

<dependency>
    <groupId>org.spincast</groupId>
    <artifactId>spincast-plugins-config</artifactId>
    <version>{{spincast.spincastCurrrentVersion}}</version>
</dependency>

2. Installing the provided SpincastConfigPluginModule module to your Guice context.

Plugin class

The class implementing the SpincastPlugin interface is SpincastConfigPlugin.

Javadoc

{% endblock %}