public class EomClassLoadServiceUtilityImpl extends de.enflexit.common.classLoadService.AbstractClassLoadServiceUtilityImpl<EomClassLoadService> implements EomClassLoadService
DefaultClassLoadServiceUtility
and prepares the access to the EomClassLoadService
depending on the OSGI bundle.Constructor and Description |
---|
EomClassLoadServiceUtilityImpl() |
Modifier and Type | Method and Description |
---|---|
AbstractEvaluationStrategy |
getEvaluationStrategyInstance(java.lang.String strategyClassName,
OptionModelController omc)
Has to return the option model calculation specified by the class name.
|
EomClassLoadService |
getLocalClassLoadService() |
AbstractOptionModelCalculation |
getOptionModelCalculationInstance(java.lang.String omcClassName,
OptionModelController omc)
Has to return the option model calculation specified by the class name.
|
AbstractStaticModel |
getStaticModelInstance(java.lang.String staticModelClassName,
OptionModelController omc)
Has to return the static model instance specified with the class name.
|
forName, getClassLoadService, getOntologyInstance, newInstance
public EomClassLoadService getLocalClassLoadService()
getLocalClassLoadService
in class de.enflexit.common.classLoadService.AbstractClassLoadServiceUtilityImpl<EomClassLoadService>
public AbstractStaticModel getStaticModelInstance(java.lang.String staticModelClassName, OptionModelController omc) throws java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.ClassNotFoundException
EomClassLoadService
getStaticModelInstance
in interface EomClassLoadService
staticModelClassName
- the static model class nameomc
- the current OptionModelController
java.lang.IllegalArgumentException
- the illegal argument exceptionjava.lang.SecurityException
- the security exceptionjava.lang.InstantiationException
- the instantiation exceptionjava.lang.IllegalAccessException
- the illegal access exceptionjava.lang.reflect.InvocationTargetException
- the invocation target exceptionjava.lang.NoSuchMethodException
- the no such method exceptionjava.lang.ClassNotFoundException
- the class not found exceptionpublic AbstractOptionModelCalculation getOptionModelCalculationInstance(java.lang.String omcClassName, OptionModelController omc) throws java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.ClassNotFoundException
EomClassLoadService
getOptionModelCalculationInstance
in interface EomClassLoadService
omcClassName
- the calculations class nameomc
- the current OptionModelController
java.lang.IllegalArgumentException
- the illegal argument exceptionjava.lang.SecurityException
- the security exceptionjava.lang.InstantiationException
- the instantiation exceptionjava.lang.IllegalAccessException
- the illegal access exceptionjava.lang.reflect.InvocationTargetException
- the invocation target exceptionjava.lang.NoSuchMethodException
- the no such method exceptionjava.lang.ClassNotFoundException
- the class not found exceptionpublic AbstractEvaluationStrategy getEvaluationStrategyInstance(java.lang.String strategyClassName, OptionModelController omc) throws java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.ClassNotFoundException
EomClassLoadService
getEvaluationStrategyInstance
in interface EomClassLoadService
strategyClassName
- the calculations class nameomc
- the current OptionModelController
java.lang.IllegalArgumentException
- the illegal argument exceptionjava.lang.SecurityException
- the security exceptionjava.lang.InstantiationException
- the instantiation exceptionjava.lang.IllegalAccessException
- the illegal access exceptionjava.lang.reflect.InvocationTargetException
- the invocation target exceptionjava.lang.NoSuchMethodException
- the no such method exceptionjava.lang.ClassNotFoundException
- the class not found exception