|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.osgiweb.OSGiWebModuleDecorator
public class OSGiWebModuleDecorator
This is where we cuistomize the StandardContext (or WebModule as you call it) object created for a WAB.
This class is responsible for the following customizations:
a) an attribute called Constants.BUNDLE_CONTEXT_ATTR in ServletContext of the web app
associated with the current OSGi bundle.
b) set a specialized FileDirContext object that restricts access to OSGI-INF and OSGI-OPT resources of a WAB
as required by the OSGi WAB spec.
c) discovering JSF faces config resources and setting them in an attribute called
Constants.FACES_CONFIG_ATTR.
d) discovering JSF facelet config resources and setting them in an attribute called
Constants.FACELET_CONFIG_ATTR.
e) discovering faces annotations in a WAB and setting them in an attribute called
The faces related attributes are used by various OSGiFacesXXXProviders that we install for a WAB. Mojarra
discovers and calls those providers as part of its initialization.
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 |
|---|
public OSGiWebModuleDecorator()
| Method Detail |
|---|
public void decorate(com.sun.enterprise.web.WebModule module)
decorate in interface com.sun.enterprise.web.WebModuleDecorator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||