Deprecated API


Contents
Deprecated Interfaces
org.eclipse.wst.server.core.IProjectProperties
          Project facet support should now be used instead of this API. @see org.eclipse.wst.common.project.facet.core.IFacetedProject#getRuntime() 
org.eclipse.wst.server.core.IRuntimeTargetHandler
          use project facets instead of runtime targets 
 

Deprecated Classes
org.eclipse.jst.server.core.ClasspathRuntimeTargetHandler
          Should use org.eclipse.jst.server.core.runtimeClasspathProviders extension point instead 
org.eclipse.wst.server.core.model.RuntimeTargetHandlerDelegate
          This function is deprecated. 
 

Deprecated Methods
org.eclipse.wst.server.core.model.ModuleFactoryDelegate.clearModuleCache()
          This method is implementation specific and never called by the framework. It shouldn't be part of the public API, but subclasses are still welcome to provide their own method to clear the cache. 
org.eclipse.jst.server.core.PublishUtil.copy(IModuleResource[], IPath)
          This method only returns a single error in the case of failure. Use publishFull() instead 
org.eclipse.jst.server.core.PublishUtil.copyFile(InputStream, String)
          Unused - will be removed. 
org.eclipse.wst.server.core.ServerCore.getProjectProperties(IProject)
          Project facet support should now be used instead of this API. @see org.eclipse.wst.common.project.facet.core.IFacetedProject#getRuntime() 
org.eclipse.wst.server.core.IProjectProperties.getRuntimeTarget()
          Project facet support should now be used instead of this API. @see org.eclipse.wst.common.project.facet.core.IFacetedProject#getRuntime() 
org.eclipse.wst.server.core.ServerUtil.getServerSchedulingRule(IServer)
          the server instance is now a scheduling rule directly 
org.eclipse.jst.server.core.PublishUtil.handleDelta(int, IPath, IModuleResourceDelta)
          This method only returns a single error in the case of failure. Use publishDelta() instead. 
org.eclipse.wst.server.core.model.ServerDelegate.importConfiguration(IRuntime, IProgressMonitor)
          should use importRuntimeConfiguration (which can throw a CoreException) instead 
org.eclipse.jst.server.core.RuntimeClasspathProviderDelegate.resolveClasspathContainer(IRuntime)
          use resolveClasspathContainer(IProject, IRuntime) instead 
org.eclipse.jst.server.core.RuntimeClasspathProviderDelegate.resolveClasspathContainerImpl(IRuntime)
          should use resolveClasspathContainerImpl(IProject, IRuntime) instead 
org.eclipse.jst.server.core.PublishUtil.smartCopy(IModuleResource[], IPath, IProgressMonitor)
          This method only returns a single error in the case of failure. Use publishSmart() instead. 
org.eclipse.wst.server.core.IServer.synchronousRestart(String, IProgressMonitor)
          use #restart(String, IServer.IOperationListener) instead 
org.eclipse.wst.server.core.IServer.synchronousStart(String, IProgressMonitor)
          use #start(String, IServer.IOperationListener) instead 
org.eclipse.wst.server.core.IServer.synchronousStop(boolean)
          use IServer.stop(boolean, IOperationListener) instead 
 

Deprecated Constructors
org.eclipse.wst.server.core.util.ModuleFile(IFile, String, IPath, long)
          use one of the top two constructors instead