org.ow2.jonas.cdi.weld.internal.tomcat
Class WeldContextCustomizer
java.lang.Object
org.ow2.jonas.cdi.weld.internal.tomcat.WeldContextCustomizer
- All Implemented Interfaces:
- ContextCustomizer
public class WeldContextCustomizer
- extends Object
- implements ContextCustomizer
A WeldContextCustomizer
will add to the Tomcat Context the appropriate
application and Context listeners.
- Author:
- Guillaume Sauthier
Method Summary |
void |
customize(StandardContext context,
org.ow2.util.ee.deploy.api.deployable.WARDeployable deployable)
Customize the given Catalina Context instance using the given WAR deployable. |
void |
setWeldService(IWeldService weld)
Bind the WeldService reference. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeldContextCustomizer
public WeldContextCustomizer()
setWeldService
public void setWeldService(IWeldService weld)
- Bind the WeldService reference.
customize
public void customize(StandardContext context,
org.ow2.util.ee.deploy.api.deployable.WARDeployable deployable)
- Customize the given Catalina Context instance using the given WAR deployable.
This is called just before the Context start-up.
- Specified by:
customize
in interface ContextCustomizer
- Parameters:
context
- Catalina Context to be customizeddeployable
- the WAR being deployed
Copyright © 2012 OW2 Consortium. All Rights Reserved.