org.netbeans.modules.j2eeserver/4 1.55.0 1

org.netbeans.modules.j2ee.deployment.plugins.spi.config
Interface ContextRootConfiguration


public interface ContextRootConfiguration

Configuration useful for setting and getting the web module context root.

Implementation of this interface should be registered in the ModuleConfiguration lookup.

Since:
1.23

Method Summary
 String getContextRoot()
          Return the web module context root.
 void setContextRoot(String contextRoot)
          Set the web context root.
 

Method Detail

getContextRoot

String getContextRoot()
                      throws ConfigurationException
Return the web module context root.

Returns:
web module context root.
Throws:
ConfigurationException - reports errors in getting the web context root.

setContextRoot

void setContextRoot(String contextRoot)
                    throws ConfigurationException
Set the web context root.

Parameters:
contextRoot - context root to be set.
Throws:
ConfigurationException - reports errors in setting the web context root.

org.netbeans.modules.j2eeserver/4 1.55.0 1

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.