public class TileCacheLibrary extends AbstractLibrary
AbstractLibrary.DefaultRequired
Library.Required, Library.TYPE
Modifier and Type | Field and Description |
---|---|
static int |
ALTERNATIVE_TILESIZE |
static int |
DEFAULT_LEVELS |
static java.lang.String |
DEFAULT_STRUCTURE |
static int |
DEFAULT_TILEHEIGHT |
static int |
DEFAULT_TILEWIDTH |
static java.lang.String |
FLATX_STRUCT |
static int |
MAX_CACHE_SIZE |
static java.lang.String |
QUADKEY_STRUCT |
Constructor and Description |
---|
TileCacheLibrary() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
Performs all the initializations of the library, only related to himself:
register implementation classes through the Locator, start services, etc.
|
protected void |
doPostInitialize()
Performs all the initializations or validations related to the library
dependencies, as getting references to objects through other libraries
Locators.
|
doRegistration, equals, getLibrary, getPriority, getRequireds, getType, hashCode, initialize, isRequired, isRequired, postInitialize, registerAs, registerAsAPI, registerAsImplementationOf, registerAsImplementationOf, registerAsServiceOf, require, require, require, toString
public static int DEFAULT_LEVELS
public static int DEFAULT_TILEWIDTH
public static int DEFAULT_TILEHEIGHT
public static int ALTERNATIVE_TILESIZE
public static java.lang.String DEFAULT_STRUCTURE
public static java.lang.String FLATX_STRUCT
public static java.lang.String QUADKEY_STRUCT
public static int MAX_CACHE_SIZE
protected void doInitialize() throws LibraryException
AbstractLibrary
doInitialize
in class AbstractLibrary
LibraryException
- if there is an error while performing the initialization of
the libraryprotected void doPostInitialize() throws LibraryException
AbstractLibrary
doPostInitialize
in class AbstractLibrary
LibraryException
- if there is an error while loading an implementation of the
library