root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / resource / spi / ResourceManagerProviderServices.java @ 24496
History | View | Annotate | Download (984 Bytes)
1 | 24496 | jmvivo | package org.gvsig.fmap.dal.resource.spi; |
---|---|---|---|
2 | 23894 | jjdelcerro | |
3 | 24130 | jiyarza | import java.util.List; |
4 | |||
5 | 24496 | jmvivo | import org.gvsig.fmap.dal.DataParameters; |
6 | import org.gvsig.fmap.dal.exceptions.DataException; |
||
7 | import org.gvsig.fmap.dal.exceptions.InitializeException; |
||
8 | import org.gvsig.fmap.dal.resource.Resource; |
||
9 | import org.gvsig.fmap.dal.resource.ResourceManager; |
||
10 | import org.gvsig.fmap.dal.resource.ResourceParameters; |
||
11 | 23894 | jjdelcerro | |
12 | public interface ResourceManagerProviderServices extends ResourceManager { |
||
13 | |||
14 | public boolean register(String type, String description, Class handler, |
||
15 | Class params);
|
||
16 | |||
17 | public DataParameters createParameters(String type) |
||
18 | throws InitializeException;
|
||
19 | |||
20 | public ResourceProvider createResource(ResourceParameters params)
|
||
21 | throws InitializeException;
|
||
22 | |||
23 | public ResourceProvider createResource(String type, Object[] params) |
||
24 | throws InitializeException;
|
||
25 | |||
26 | public void remove(Resource resource) throws DataException; |
||
27 | |||
28 | public void remove(String name) throws DataException; |
||
29 | 24130 | jiyarza | |
30 | 24185 | jjdelcerro | public List getResourceProviders(); |
31 | 23894 | jjdelcerro | |
32 | } |