org.objectweb.jonas_ws.wsgen.ddmodifier
Class WebJettyDDModifier

java.lang.Object
  extended by org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier
      extended by org.objectweb.jonas_ws.wsgen.ddmodifier.WebJettyDDModifier

public class WebJettyDDModifier
extends DeploymentDescModifier

Modify the web-jetty.xml file. Wrapper around a web.xml DOM

Author:
Matt Wringe

Field Summary
 
Fields inherited from class org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier
J2EE_NS, JONAS_NS
 
Constructor Summary
WebJettyDDModifier(org.w3c.dom.Document doc)
          Create a new WebJettyDDModifier
 
Method Summary
 void configRealm(java.lang.String realm)
          Sets up the realm for Jetty to use
 void configRealm(java.lang.String realmName, java.lang.String realm)
          Sets up the realm for Jetty to use
 
Methods inherited from class org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier
getDocument, getElement, getLogger, getParent, newElement, newElement, newJ2EEElement, newJ2EEElement, newJOnASElement, newJOnASElement, setDocument, setElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebJettyDDModifier

public WebJettyDDModifier(org.w3c.dom.Document doc)
Create a new WebJettyDDModifier

Parameters:
doc - the context.xml Document
Method Detail

configRealm

public void configRealm(java.lang.String realm)
Sets up the realm for Jetty to use

Parameters:
realm - the realm to use

configRealm

public void configRealm(java.lang.String realmName,
                        java.lang.String realm)
Sets up the realm for Jetty to use

Parameters:
realmName - the realm name for the realm
realm - the realm to use