public abstract class DTEManager
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
DTE_DISABLED_PROJECT_PROPERTY
Name of the transient project properties that is set to Boolean.TRUE when 
 the web-app auto restarted is stopped. 
 | 
| Constructor and Description | 
|---|
DTEManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
addContextualObjectProvider(ContextualObjectProvider provider)
Deprecated.  
 | 
void | 
addIncludeProvider(oracle.bali.xml.grammar.QualifiedName qname,
                  IncludeProvider provider)
Deprecated.  
 | 
static DTEManager | 
getDTEManager()
Get the  
DTEManager implementation. | 
static DTEManager | 
getInstance()
Gets the  
DTEManager implementation to use for restarting a
 Design Time Engine Web Application instance. | 
protected void | 
processRegistrations(DTEManager dteManager)  | 
abstract void | 
registerELContextObjectProvider(MetaClass<ELContextObjectProvider> elContextObjectProvider)
Register the given EL Context Object Provider 
 | 
abstract void | 
registerLoadResourcesFromClassLoaderFeatureEnabler(LoadResourcesFromClassLoaderFeatureEnabler loadResourcesFromClassLoaderFeatureEnabler)  | 
abstract void | 
registerRenderAsIncludeProvider(oracle.bali.xml.grammar.QualifiedName qname,
                               MetaClass<RenderAsIncludeProvider> renderAsIncludeProvider)
Register the RenderAsInclude Provider given the qualified name 
 | 
abstract void | 
registerVisualEditorPathProvider(MetaClass<VisualEditorPathProvider> visualEditorPathProvider)
Register an extension point allowing JSP Design Time Visual Editor viewable
 paths to be specified for JspSourceNode and subclasses (JspFragmentSourceNode,
 JspTagSourceNode, JspTagXSourceNode, JspTagFragmentSourceNode). 
 | 
abstract void | 
registerVisualEditorPathProvider(MetaClass<VisualEditorPathProvider> visualEditorPathProvider,
                                float weight)
Register an extension point allowing JSP Design Time Visual Editor viewable
 paths to be specified for JspSourceNode and subclasses (JspFragmentSourceNode,
 JspTagSourceNode, JspTagXSourceNode, JspTagFragmentSourceNode). 
 | 
void | 
removeContextualObjectProvider(ContextualObjectProvider provider)
Deprecated.  
 | 
void | 
removeIncludeProvider(oracle.bali.xml.grammar.QualifiedName qname)
Deprecated.  
 | 
abstract void | 
restartWebApp(Project project)
Restart the webapp in JSP VE design time(fake servlet container) 
 | 
abstract void | 
startWebAppAutoRestart(Project project)
By default the dte restarts the webapp whenever the web.xml or other configuration files are modified. 
 | 
abstract void | 
stopWebAppAutoRestart(Project project)
By default the dte restarts the webapp whenever the web.xml or other configuration files are modified. 
 | 
abstract void | 
suppressClassPathEntry(java.net.URL classPathEntry)
Register a classPathEntry (jar or directory) that should be suppressed from
 the Web Application Environment. 
 | 
abstract void | 
suppressResource(java.lang.String resourceName,
                java.lang.String dependentClassName,
                java.net.URL replacementResource)
Register a resource that should be suppressed from the Web Application environment. 
 | 
public static final java.lang.String DTE_DISABLED_PROJECT_PROPERTY
public static DTEManager getInstance()
DTEManager implementation to use for restarting a
 Design Time Engine Web Application instance.
 This is for calls to
  stopWebAppAutoRestart(Project)
  startWebAppAutoRestart(Project)
  restartWebApp(Project)
 
 This will not trigger the Design Time Engine extension to be
 loaded / initialized.
 If the Design Time Engine extension hasn't been loaded, a call to restart
 a web application (perhaps from changing a project's configuration) can be
 a no-op, since no web applications will yet exist.DTEManager implementation to use for restarting a
 Design Time Engine Web Application instance.public static DTEManager getDTEManager()
DTEManager implementation.
 This will trigger the Design Time Engine extension to be loaded / initialized.DTEManager implementation@Deprecated public abstract void addContextualObjectProvider(ContextualObjectProvider provider)
@Deprecated public void removeContextualObjectProvider(ContextualObjectProvider provider)
public abstract void registerELContextObjectProvider(MetaClass<ELContextObjectProvider> elContextObjectProvider)
@Deprecated
public void addIncludeProvider(oracle.bali.xml.grammar.QualifiedName qname,
                                 IncludeProvider provider)
@Deprecated public void removeIncludeProvider(oracle.bali.xml.grammar.QualifiedName qname)
public abstract void registerRenderAsIncludeProvider(oracle.bali.xml.grammar.QualifiedName qname,
                                   MetaClass<RenderAsIncludeProvider> renderAsIncludeProvider)
public abstract void registerVisualEditorPathProvider(MetaClass<VisualEditorPathProvider> visualEditorPathProvider)
public abstract void registerVisualEditorPathProvider(MetaClass<VisualEditorPathProvider> visualEditorPathProvider, float weight)
This variant provides a weight for the Provider, allowing it to take precedence over a standard implementation for the same type of JspSourceNode Context
public abstract void registerLoadResourcesFromClassLoaderFeatureEnabler(LoadResourcesFromClassLoaderFeatureEnabler loadResourcesFromClassLoaderFeatureEnabler)
public abstract void suppressClassPathEntry(java.net.URL classPathEntry)
classPathEntry - the URL of the jar or directory that should be suppressed.
 The URL should be constructed using oracle.ide.net.URLFactory.java.lang.NullPointerException - if classPathEntry is nullpublic abstract void suppressResource(java.lang.String resourceName,
                    java.lang.String dependentClassName,
                    java.net.URL replacementResource)
resourceName - the name of the resource, as passed to ClassLoader.getResources()dependentClassName - the name of a class in the jar whose resource we 
 wish to suppress. If null, suppress all.replacementResource - the URL of a resource to use in place of resourceNamejava.lang.NullPointerException - if resourceName is nullpublic abstract void stopWebAppAutoRestart(Project project)
project - the project to which the webapp belongsjava.lang.NullPointerException - if project is nullpublic abstract void startWebAppAutoRestart(Project project)
project - the project to which the webapp belongsjava.lang.NullPointerException - if project is nullpublic abstract void restartWebApp(Project project)
project - The project for the webappprotected void processRegistrations(DTEManager dteManager)