|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gvsig.tools.library.AbstractLibrariesInitializer
public abstract class AbstractLibrariesInitializer
Base implementation of an LibrariesInitializer
with the
initialization of Libraries already implemented, delegating on child classes
the finding of available Library
objects.
This class is NOT thread safe.
Field Summary |
---|
Fields inherited from interface org.gvsig.tools.library.Library.TYPE |
---|
API, IMPL, SERVICE |
Constructor Summary | |
---|---|
AbstractLibrariesInitializer()
|
|
AbstractLibrariesInitializer(ClassLoader classLoader)
|
|
AbstractLibrariesInitializer(ClassLoader[] classLoaders)
|
Method Summary | |
---|---|
protected abstract Set |
findLibraries(Class libraryClass,
ClassLoader classLoader)
|
void |
fullInitialize()
Initializes and post-initializes all available Library objects. |
void |
fullInitialize(boolean ignoreerrors)
Initializes and post-initializes all available Library objects. |
List |
getLibraries()
|
void |
initialize()
Initializes all available Library objects. |
void |
initialize(boolean ignoreerrors)
Initializes all available Library objects. |
void |
postInitialize()
Post-initializes all available Library objects. |
void |
postInitialize(boolean ignoreerrors)
Post-initializes all available Library objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractLibrariesInitializer()
public AbstractLibrariesInitializer(ClassLoader classLoader)
public AbstractLibrariesInitializer(ClassLoader[] classLoaders)
Method Detail |
---|
public void initialize()
LibrariesInitializer
Library
objects. The initialization
process will stop if any exception is thrown by any of the libraries.
initialize
in interface LibrariesInitializer
public void initialize(boolean ignoreerrors)
LibrariesInitializer
Library
objects. The initialization
process will stop or not if any exception is thrown by any of the
libraries depending on the ignoreerrors parameter.
initialize
in interface LibrariesInitializer
ignoreerrors
- if library initialization errors will stop de processpublic void postInitialize()
LibrariesInitializer
Library
objects. The
initialization
process will stop if any exception is thrown by any of the libraries.
postInitialize
in interface LibrariesInitializer
public void postInitialize(boolean ignoreerrors)
LibrariesInitializer
Library
objects. The
initialization
process will stop or not if any exception is thrown by any of the
libraries depending on the ignoreerrors parameter.
postInitialize
in interface LibrariesInitializer
ignoreerrors
- if library initialization errors will stop de processpublic void fullInitialize()
LibrariesInitializer
Library
objects.
The initialization
process will stop if any exception is thrown by any of the libraries.
fullInitialize
in interface LibrariesInitializer
public void fullInitialize(boolean ignoreerrors)
LibrariesInitializer
Library
objects.
The initialization
process will stop or not if any exception is thrown by any of the
libraries depending on the ignoreerrors parameter.
fullInitialize
in interface LibrariesInitializer
ignoreerrors
- if library initialization errors will stop de processpublic List getLibraries()
protected abstract Set findLibraries(Class libraryClass, ClassLoader classLoader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |