Package org.sdase.commons.server.weld
Class DropwizardWeldHelper
- java.lang.Object
-
- org.sdase.commons.server.weld.DropwizardWeldHelper
-
public class DropwizardWeldHelper extends java.lang.Object
Start a Dropwizard application with Weld support.This is used to create the Application class inside the Weld Context, so that the Application, or instances produced by the Application, can be injected.
Example usage:
public static void main(final String[] args) throws Exception { DropwizardWeldHelper.run(Application.class, args); }
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <C extends io.dropwizard.Application>
voidrun(java.lang.Class<C> applicationClass, java.lang.String... arguments)
-