org.eclipse.update.core
Interface ISiteFactoryExtension
Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This
provisional API was never promoted to stable API, and may be removed from a future release of the platform.
-
public interface ISiteFactoryExtension
This is an extension to the standard ISiteFactory interface.
If a factory implements this interface and is handling
URL connections, a progress monitor can be passed to
allow canceling of frozen connections.
Input stream is obtained from the connection on
a separate thread. When connection is canceled,
the thread is still active. It is allowed to terminate
when the connection times out on its own.
Note: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
-
Since:
- 2.1
-
See Also:
-
BaseSiteFactory
createSite
ISite createSite(
URL url,
IProgressMonitor monitor)
throws
CoreException,
InvalidSiteTypeException
-
Deprecated.
- Returns a site defined by the supplied URL.
The actual interpretation of the URL is site-type specific.
In most cases the URL will point to some site-specific
file that can be used (directly or indirectly) to construct
the site object.
-
-
Parameters:
-
url
- URL interpreted by the site -
monitor
- a progress monitor that can be canceled
-
Returns:
- site object
-
Throws:
-
CoreException
-
InvalidSiteTypeException
- the referenced site type is
not a supported type for this factory -
Since:
- 2.0
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.