public class FwkDescriptionFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.HashMap |
cache |
static java.lang.String |
version |
Constructor and Description |
---|
FwkDescriptionFactory() |
Modifier and Type | Method and Description |
---|---|
static FwkDescriptionInterface |
get(java.lang.Class clazz)
Get a descriptor for the specified class.
|
static FwkDescriptionInterface |
getDescriptor(java.lang.Class clazz,
FwkDescriptionInterface alternativ)
This method returns a descriptor depending on given class.
|
java.lang.String |
getVersion() |
public static final java.lang.String version
protected static java.util.HashMap cache
public java.lang.String getVersion()
public static FwkDescriptionInterface get(java.lang.Class clazz)
clazz
- The class for that the descriptor should be returned.public static FwkDescriptionInterface getDescriptor(java.lang.Class clazz, FwkDescriptionInterface alternativ)
clazz
- The class for that the description should be loaded.alternative
- The alternativ description use if the xml file was not found.