org.ow2.jonas.cdi.weld.internal.services
Class JOnASServletServices

java.lang.Object
  extended by org.ow2.jonas.cdi.weld.internal.services.JOnASServletServices
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service, org.jboss.weld.servlet.api.ServletServices

public class JOnASServletServices
extends java.lang.Object
implements org.jboss.weld.servlet.api.ServletServices

Perform a mapping from a ServletContext to a BeanDeploymentArchive.

Author:
Guillaume Sauthier

Constructor Summary
JOnASServletServices(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive archive)
           
 
Method Summary
 void cleanup()
          Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
 org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchive(javax.servlet.ServletContext ctx)
          Get the BDA for the current request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOnASServletServices

public JOnASServletServices(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive archive)
Method Detail

getBeanDeploymentArchive

public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchive(javax.servlet.ServletContext ctx)
Get the BDA for the current request. The ServletContext is provided for context.

Specified by:
getBeanDeploymentArchive in interface org.jboss.weld.servlet.api.ServletServices
Parameters:
ctx -
Returns:

cleanup

public void cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.

Specified by:
cleanup in interface org.jboss.weld.bootstrap.api.Service


Copyright © 2012 OW2 Consortium. All Rights Reserved.