IWebProjectDriver Interface

com.bea.ide.workspace.project.web
IWebProjectDriver Interface

public interface IWebProjectDriver

    extends IProjectDriver

Project driver for web projects


All Superinterfaces
IProjectDriver

Field Summary

public static final String
WEBINF_CLASSES_DIR
String
public static final String
WEBINF_DIR
String
public static final String
WEBINF_LIB_DIR
String
public static final String
WEBINF_SRC_DIR
String
 

Method Summary

public String
getContextPath()
Returns the context path for this project.
public Properties
getJspConfigProperties()
Gets the JSP config properties from weblogic.xml, in a Properties object.
public Object
getWeblogicXmlBean()
Gets an XMLBean representing weblogic.xml for this web-app.
public Object
getWebXmlBean()
Gets an XMLBean representing web.xml for this web-app.
public void
setContextPath(String contextPath)
Sets the context path for this project.
public boolean
setWeblogicXmlBean(Object oBean, boolean displayDlg)
Sets this web-app to use the given XMLBean as weblogic.xml, saving over the existing file.
public boolean
setWebXmlBean(Object oBean, boolean displayDlg)
Sets this web-app to use the given XMLBean as web.xml, saving over the existing file.
 
Methods from interface com.bea.ide.workspace.project.IProjectDriver
activate, deactivate
   

Field Detail

WEBINF_CLASSES_DIR

public static final String WEBINF_CLASSES_DIR


WEBINF_DIR

public static final String WEBINF_DIR


WEBINF_LIB_DIR

public static final String WEBINF_LIB_DIR


WEBINF_SRC_DIR

public static final String WEBINF_SRC_DIR

 

Method Detail

getContextPath() Method

public String getContextPath()
Returns the context path for this project.


getJspConfigProperties() Method

public Properties getJspConfigProperties()
Gets the JSP config properties from weblogic.xml, in a Properties object. This is a shortcut to getting it through the XML Bean interfaces below.


getWeblogicXmlBean() Method

public Object getWeblogicXmlBean()
Gets an XMLBean representing weblogic.xml for this web-app. Returns and instance of com.bea.wlw.config.j2ee.WeblogicWebAppDocument.WeblogicWebApp.


getWebXmlBean() Method

public Object getWebXmlBean()
Gets an XMLBean representing web.xml for this web-app. Returns an instance of com.bea.wlw.config.j2ee.WebAppDocument.WebApp.


setContextPath(String) Method

public void setContextPath(String contextPath)
Sets the context path for this project. If set to null, the context path will be set to the default, which is the name of the project.


setWeblogicXmlBean(Object, boolean) Method

public boolean setWeblogicXmlBean(Object oBean, 
                                  boolean displayDlg)
Sets this web-app to use the given XMLBean as weblogic.xml, saving over the existing file. The oBean must be an instance of com.bea.wlw.config.j2ee.WeblogicWebAppDocument.WeblogicWebApp.


setWebXmlBean(Object, boolean) Method

public boolean setWebXmlBean(Object oBean, 
                             boolean displayDlg)
Sets this web-app to use the given XMLBean as web.xml, saving over the existing file. The oBean must be an instance of com.bea.wlw.config.j2ee.WebAppDocument.WebApp.