com.jwebmp.guicedinjection.interfaces.IGuicePostStartup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guiced-injection Show documentation
Show all versions of guiced-injection Show documentation
Guice Injection allows you to access multiple Guice Binders and Modules across separate archives.
Allowing you to configure your applications with injection from multiple dependancies. Servlets, EJB's, and
Stand-Alone is supported. Requires JDK 8 or 10.
/*
* Copyright (C) 2017 Marc Magon
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package com.jwebmp.guicedinjection.interfaces;
/**
* Executes immediately after Guice has been initialized
*
* @author Marc Magon
* @since 15 May 2017
*/
public interface IGuicePostStartup
{
/**
* Runs immediately after the post load
*/
void postLoad();
/**
* Sets the order in which this must run, default 100.
*
* @return the sort order to return
*/
default Integer sortOrder()
{
return 50;
}
;
}