org.netbeans.modules.j2ee.deployment.plugins.api
Interface OldJSPDebug

All Superinterfaces:
FindJSPServlet

public interface OldJSPDebug
extends FindJSPServlet

This interface should be implemented by plugins that want to support JSP source level debugging, but do not support JSR 45. The prerequisite for the JSP debugging support (without JSR 45) is the support for finding a generated servlet, represented by the FindJSPServlet interface.


Nested Class Summary
static interface OldJSPDebug.JspSourceMapper
          Provides common interface for JSP <----> Java mappings
 
Method Summary
 OldJSPDebug.JspSourceMapper getSourceMapper(javax.enterprise.deploy.spi.TargetModuleID module, String jspResourcePath)
          Creates a servlet <-> JSP mapping for a given JSP.
 
Methods inherited from interface org.netbeans.modules.j2ee.deployment.plugins.api.FindJSPServlet
getServletEncoding, getServletResourcePath, getServletTempDirectory
 

Method Detail

getSourceMapper

OldJSPDebug.JspSourceMapper getSourceMapper(javax.enterprise.deploy.spi.TargetModuleID module,
                                            String jspResourcePath)
Creates a servlet <-> JSP mapping for a given JSP. May be null if the server is not running or the page has not been compiled. Also may be null if the server plugin does not support creation of the line mapping information.

Parameters:
module - web module in which the JSP is located.
jspResourcePath - the path of the JSP for which the mapping is requested, e.g. "pages/login.jsp". Never starts with a '/'.
Returns:
JspSourceMapper for this JSP.

 

Built on March 27 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.