org.glassfish.osgiweb
Class OSGiWebModuleDecorator

java.lang.Object
  extended by org.glassfish.osgiweb.OSGiWebModuleDecorator
All Implemented Interfaces:
com.sun.enterprise.web.WebModuleDecorator

public class OSGiWebModuleDecorator
extends java.lang.Object
implements com.sun.enterprise.web.WebModuleDecorator

This class is responsible for setting a) an attribute called Constants.BUNDLE_CONTEXT_ATTR in ServletContext of the web app associated with the current OSGi bundle. b) discovering JSF faces config resources and setting them in an attribute called Constants.FACES_CONFIG_ATTR. c) discovering JSF facelet config resources and setting them in an attribute called Constants.FACELET_CONFIG_ATTR. d) discovering faces annotations in a WAB and setting them in an attribute called This class is looked up by mojarra using JDK SPI mechanism.

Author:
Sanjeeb.Sahoo@Sun.COM
See Also:
OSGiFacesConfigResourceProvider, OSGiFaceletConfigResourceProvider, OSGiWebDeploymentContext.WABClassLoader.getResources(String)

Constructor Summary
OSGiWebModuleDecorator()
           
 
Method Summary
 void decorate(com.sun.enterprise.web.WebModule module)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiWebModuleDecorator

public OSGiWebModuleDecorator()
Method Detail

decorate

public void decorate(com.sun.enterprise.web.WebModule module)
Specified by:
decorate in interface com.sun.enterprise.web.WebModuleDecorator


Copyright © 2011 GlassFish Community. All Rights Reserved.