public class JettyWeldInitializer extends Object
Constructor and Description |
---|
JettyWeldInitializer() |
Modifier and Type | Method and Description |
---|---|
static void |
initContext(ContextHandler handler) |
static void |
initWebApp(WebAppContext webapp)
Initialize WebAppContext to support CDI/Weld.
|
public static void initWebApp(WebAppContext webapp) throws NamingException
Initializes Context, then sets up WebAppContext system and server classes to allow Weld to operate from Server level.
Includes initContext(ContextHandler)
behavior as well.
webapp
- the webappNamingException
- if unable to bind BeanManager contextpublic static void initContext(ContextHandler handler) throws NamingException
NamingException
Copyright © 1995-2015 Webtide. All Rights Reserved.