org.ow2.jonas.cdi.weld.internal.tomcat
Class WeldContextCustomizer
java.lang.Object
org.ow2.jonas.cdi.weld.internal.tomcat.WeldContextCustomizer
- All Implemented Interfaces:
- org.ow2.jonas.web.tomcat7.custom.ContextCustomizer
public class WeldContextCustomizer
- extends Object
- implements org.ow2.jonas.web.tomcat7.custom.ContextCustomizer
A WeldContextCustomizer will add to the Tomcat Context the appropriate
application and Context listeners.
- Author:
- Guillaume Sauthier
|
Method Summary |
void |
customize(org.apache.catalina.core.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(org.apache.catalina.core.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 org.ow2.jonas.web.tomcat7.custom.ContextCustomizer
- Parameters:
context - Catalina Context to be customizeddeployable - the WAR being deployed
Copyright © 2013 OW2 Consortium. All Rights Reserved.