|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.catalog.defaults.DefaultServiceFinder
A default service factory which uses the SPI classpath plugin lookup mechanism to locate service extension plugins.
Constructor Summary | |
DefaultServiceFinder(Catalog catalog)
|
Method Summary | |
java.util.List |
aquire(java.util.Map params)
This will create a new IService magically. |
java.util.List |
aquire(java.net.URI target)
Aquire IService handles generated by all ServiceExtentions that think they can handle the provided target url. |
java.util.List |
aquire(java.net.URI id,
java.util.Map params)
This methos is intended to be used when replacing an IService entry in a catalog, or for cloning. |
java.util.List |
getServiceFactories()
This method uses the current classpath to look for instances of ServiceFactory . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultServiceFinder(Catalog catalog)
Method Detail |
public java.util.List aquire(java.net.URI id, java.util.Map params)
ServiceFinder
aquire
in interface ServiceFinder
id
- params
-
public java.util.List aquire(java.util.Map params)
ServiceFinder
aquire
in interface ServiceFinder
params
-
public java.util.List aquire(java.net.URI target)
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.
aquire
in interface ServiceFinder
target
-
net.refractions.udig.catalog.IServiceFactory#aquire(java.net.URL)
public java.util.List getServiceFactories()
ServiceFactory
. Sublcasses should overide this method if they wish to
use a diffent plug-in mechanism.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |