public class PublishLibrary extends AbstractLibrary
AbstractLibrary.DefaultRequired
Library.Required, Library.TYPE
Constructor and Description |
---|
PublishLibrary() |
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.
|
void |
doRegistration() |
equals, getLibrary, getPriority, getRequireds, getType, hashCode, initialize, isRequired, isRequired, postInitialize, registerAs, registerAsAPI, registerAsImplementationOf, registerAsImplementationOf, registerAsServiceOf, require, require, require, toString
public void doRegistration()
doRegistration
in interface Library
doRegistration
in class AbstractLibrary
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