com.jwebmp.guicedinjection.injections.JPMSGuiceASM 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.
package com.jwebmp.guicedinjection.injections;
import com.jwebmp.guicedinjection.interfaces.IGuicePreStartup;
import com.jwebmp.logger.LogFactory;
public class JPMSGuiceASM
implements IGuicePreStartup
{
@Override
public void onStartup()
{
LogFactory.getLog("JPMSGuiceASM")
.config("Configuring Guice with $experimental_asm7 to true");
System.setProperty("com.google.inject.internal.cglib.$experimental_asm7", "true");
}
}