svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.spi / src / main / java / org / gvsig / fmap / dal / resource / spi / ResourceManagerProviderServices.java @ 40435
History | View | Annotate | Download (1.16 KB)
1 | 40435 | jjdelcerro | package org.gvsig.fmap.dal.resource.spi; |
---|---|---|---|
2 | |||
3 | import java.util.List; |
||
4 | |||
5 | import org.gvsig.fmap.dal.DataParameters; |
||
6 | import org.gvsig.fmap.dal.exception.DataException; |
||
7 | import org.gvsig.fmap.dal.exception.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 | |||
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 createAddResource(ResourceParameters params)
|
||
21 | throws InitializeException;
|
||
22 | |||
23 | public ResourceProvider createResource(ResourceParameters params)
|
||
24 | throws InitializeException;
|
||
25 | |||
26 | public ResourceProvider createAddResource(String type, Object[] params) |
||
27 | throws InitializeException;
|
||
28 | |||
29 | public ResourceProvider createResource(String type, Object[] params) |
||
30 | throws InitializeException;
|
||
31 | |||
32 | public void remove(Resource resource) throws DataException; |
||
33 | |||
34 | public void remove(String name) throws DataException; |
||
35 | |||
36 | public List getResourceProviders(); |
||
37 | |||
38 | } |