Revision 43810

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.temporarystorage/org.gvsig.temporarystorage.lib/org.gvsig.temporarystorage.lib.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.temporarystorage.TemporaryStorageManagerLibrary
1
org.gvsig.temporarystorage.TemporaryStorageLibrary
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.temporarystorage/org.gvsig.temporarystorage.lib/org.gvsig.temporarystorage.lib.api/src/main/java/org/gvsig/temporarystorage/TemporaryStorageLocator.java
36 36
        return LOCATOR_NAME;
37 37
    }
38 38

  
39
    public static TemporaryStorageManager getManager() throws LocatorException {
39
    public static TemporaryStorageManager getTemporaryStorageManager() throws LocatorException {
40 40
        return (TemporaryStorageManager) getInstance().get(MANAGER_NAME);
41 41
    }
42 42

  
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.temporarystorage/org.gvsig.temporarystorage.lib/org.gvsig.temporarystorage.lib.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.temporarystorage.impl.TemporaryStorageManagerImplLibrary
1
org.gvsig.temporarystorage.impl.TemporaryStorageImplLibrary
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.temporarystorage/org.gvsig.temporarystorage.lib/org.gvsig.temporarystorage.lib.impl/src/main/java/org/gvsig/temporarystorage/impl/TemporaryStorageManagerImplLibrary.java
1
package org.gvsig.temporarystorage.impl;
2

  
3

  
4
import org.gvsig.temporarystorage.TemporaryStorageLibrary;
5
import org.gvsig.temporarystorage.TemporaryStorageLocator;
6
import org.gvsig.tools.library.AbstractLibrary;
7
import org.gvsig.tools.library.LibraryException;
8

  
9
public class TemporaryStorageManagerImplLibrary extends AbstractLibrary {
10

  
11
    @Override
12
    public void doRegistration() {
13
        registerAsImplementationOf(TemporaryStorageLibrary.class);
14
    }
15

  
16
    @Override
17
    protected void doInitialize() throws LibraryException {
18
        TemporaryStorageLocator.registerManager(DefaultTemporaryStorageManager.class);
19
    }
20

  
21
    @Override
22
    protected void doPostInitialize() throws LibraryException {
23

  
24
    }
25
}
26

  
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.temporarystorage/org.gvsig.temporarystorage.lib/org.gvsig.temporarystorage.lib.impl/src/main/java/org/gvsig/temporarystorage/impl/TemporaryStorageImplLibrary.java
1
package org.gvsig.temporarystorage.impl;
2

  
3

  
4
import org.gvsig.temporarystorage.TemporaryStorageLibrary;
5
import org.gvsig.temporarystorage.TemporaryStorageLocator;
6
import org.gvsig.tools.library.AbstractLibrary;
7
import org.gvsig.tools.library.LibraryException;
8

  
9
public class TemporaryStorageImplLibrary extends AbstractLibrary {
10

  
11
    @Override
12
    public void doRegistration() {
13
        registerAsImplementationOf(TemporaryStorageLibrary.class);
14
    }
15

  
16
    @Override
17
    protected void doInitialize() throws LibraryException {
18
        TemporaryStorageLocator.registerManager(DefaultTemporaryStorageManager.class);
19
    }
20

  
21
    @Override
22
    protected void doPostInitialize() throws LibraryException {
23

  
24
    }
25
}
26

  

Also available in: Unified diff