deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.commons.version
Class DeegreeModuleInfo

java.lang.Object
  extended by org.deegree.commons.version.DeegreeModuleInfo
Direct Known Subclasses:
CoreModuleInfo

public abstract class DeegreeModuleInfo
extends Object

Provides runtime access to information about the available deegree modules in the JVM.

Module information includes:

Registration of modules is based on the ServiceLoader mechanism, i.e. it is required that each deegree module is packaged in a jar and with a corresponding META-INF/services/org.deegree.CoreModuleInfo file.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Constructor Summary
DeegreeModuleInfo()
           
 
Method Summary
abstract  String getName()
          Returns the canonical name of the module (corresponds to the SVN module name).
static List<DeegreeModuleInfo> getRegisteredModules()
          Returns info about all registered modules.
 ModuleVersion getVersion()
          Returns the version and build information of the module.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeegreeModuleInfo

public DeegreeModuleInfo()
Method Detail

getName

public abstract String getName()
Returns the canonical name of the module (corresponds to the SVN module name).

Returns:
the canonical name

getVersion

public ModuleVersion getVersion()
Returns the version and build information of the module.

Returns:
the version and build information

getRegisteredModules

public static List<DeegreeModuleInfo> getRegisteredModules()
Returns info about all registered modules.

Returns:
info about all registered modules

toString

public String toString()
Overrides:
toString in class Object

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>