Revision 30580 branches/v2_0_0_prep/libraries/libGPE-KML/src/org/gvsig/gpe/kml/impl/DefaultKmlLibrary.java
DefaultKmlLibrary.java | ||
---|---|---|
31 | 31 |
import org.gvsig.gpe.GPEManager; |
32 | 32 |
import org.gvsig.gpe.exceptions.ParserNotRegisteredException; |
33 | 33 |
import org.gvsig.gpe.exceptions.WriterHandlerNotRegisteredException; |
34 |
import org.gvsig.gpe.kml.KmlLibrary; |
|
34 |
import org.gvsig.tools.library.LibraryException; |
|
35 |
import org.gvsig.tools.library.impl.BaseLibrary; |
|
35 | 36 |
import org.gvsig.tools.locator.ReferenceNotRegisteredException; |
36 | 37 |
import org.slf4j.Logger; |
37 | 38 |
import org.slf4j.LoggerFactory; |
... | ... | |
39 | 40 |
/** |
40 | 41 |
* @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a> |
41 | 42 |
*/ |
42 |
public class DefaultKmlLibrary extends KmlLibrary {
|
|
43 |
public class DefaultKmlLibrary extends BaseLibrary {
|
|
43 | 44 |
private static final Logger logger = LoggerFactory.getLogger(DefaultKmlLibrary.class); |
44 |
|
|
45 |
/* |
|
46 |
* (non-Javadoc) |
|
47 |
* @see org.gvsig.tools.locator.BaseLibrary#initialize() |
|
48 |
*/ |
|
49 |
public void initialize() throws ReferenceNotRegisteredException { |
|
50 |
super.initialize(); |
|
51 |
} |
|
52 | 45 |
|
53 |
/* |
|
54 |
* (non-Javadoc) |
|
55 |
* @see org.gvsig.tools.locator.BaseLibrary#postInitialize() |
|
56 |
*/ |
|
57 |
public void postInitialize() { |
|
58 |
super.postInitialize(); |
|
46 |
protected void doInitialize() throws LibraryException { |
|
47 |
} |
|
59 | 48 |
|
49 |
protected void doPostInitialize() throws LibraryException { |
|
60 | 50 |
// Validate there is any implementation registered. |
61 | 51 |
GPEManager gpeManager = GPELocator.getGPEManager(); |
62 | 52 |
if (gpeManager == null) { |
Also available in: Unified diff