| |
|
| java.lang.Object org.geotools.catalog.defaults.DefaultServiceFinder
DefaultServiceFinder | public class DefaultServiceFinder implements ServiceFinder(Code) | | A default service factory which uses the SPI classpath plugin lookup
mechanism to locate service extension plugins.
since: 0.6 |
Method Summary | |
public List | aquire(URI id, Map params) | public List | aquire(Map params) | public List | aquire(URI target) Aquire IService handles generated by all ServiceExtentions that think
they can handle the provided target url.
Note: Just because a target is created does NOT mean it will actually
work. | public List | getServiceFactories() This method uses the current classpath to look for instances of
ServiceFactory using the factory spi mechanism. |
DefaultServiceFinder | public DefaultServiceFinder(Catalog catalog)(Code) | | |
aquire | public List aquire(URI target)(Code) | | Aquire IService handles generated by all ServiceExtentions that think
they can handle the provided target url.
Note: Just because a target is created does NOT mean it will actually
work. You can check the handles in the usual manner (ask for their
info) after you get back this list.
Parameters: target - See Also: net.refractions.udig.catalog.IServiceFactory.aquire(java.net.URL) |
getServiceFactories | public List getServiceFactories()(Code) | | This method uses the current classpath to look for instances of
ServiceFactory using the factory spi mechanism.
Sublcasses should overide this method if they wish to use a diffent plug-in mechanism.
A list of ServiceFactory plugins, or an empty list if nonecould be found. See Also: FactoryRegistry |
|
|
|