public class JettyWeldInitializer
extends java.lang.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 javax.naming.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 webappjavax.naming.NamingException
- if unable to bind BeanManager contextpublic static void initContext(ContextHandler handler) throws javax.naming.NamingException
javax.naming.NamingException
Copyright © 1995–2023 Webtide. All rights reserved.