public static interface AbstractWebContainer.WebDescriptorParser
Method Summary
void
parseWebAppDescriptors(java.lang.ClassLoader loader,
WebMetaData metaData)
This method is called as part of subclass performDeploy() method implementations
war deployment.
Method Detail
parseWebAppDescriptors
public void parseWebAppDescriptors(java.lang.ClassLoader loader,
WebMetaData metaData)
throws java.lang.Exception
This method is called as part of subclass performDeploy() method implementations
war deployment. The method creates the ENC(java:comp/env) env-entry,
resource-ref, & ejb-ref element values. The creation of the env-entry
for the JNDI name of the deployed resources/EJBs.
Because the ENC context is private to the web application, the web
application class loader is used to identify the ENC. The class loader
is used because each war typically requires a unique class loader to
isolate the web application classes/resources. This means that the
ClassLoader passed to this method must be the thread context ClassLoader
seen by the server/jsp pages during init/destroy/service/etc. method
invocations if these methods interace with the JNDI ENC context.