Revision 30580 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/impl/MapContextImplLibrary.java

View differences:

MapContextImplLibrary.java
27 27
package org.gvsig.fmap.mapcontext.impl;
28 28

  
29 29
import org.gvsig.fmap.mapcontext.MapContextLocator;
30
import org.gvsig.tools.locator.BaseLibrary;
31
import org.gvsig.tools.locator.ReferenceNotRegisteredException;
30
import org.gvsig.tools.library.LibraryException;
31
import org.gvsig.tools.library.impl.BaseLibrary;
32 32

  
33 33
/**
34 34
 * Library for the default implementation of the MapContext library.
35
 * 
35 36
 * @author <a href="mailto:cordinyana@gvsig.org">C?sar Ordi?ana</a>
36 37
 */
37 38
public class MapContextImplLibrary extends BaseLibrary {
38 39

  
39
	public synchronized void initialize()
40
			throws ReferenceNotRegisteredException {
40
	protected void doInitialize() throws LibraryException {
41 41
		MapContextLocator
42 42
				.registerMapContextManager(DefaultMapContextManager.class);
43 43
	}
44 44

  
45
	protected void doPostInitialize() throws LibraryException {
46
	}
47

  
45 48
}

Also available in: Unified diff