Class PrologExecutableExtensionFactory
- java.lang.Object
-
- org.palladiosimulator.supporting.prolog.PrologExecutableExtensionFactory
-
- All Implemented Interfaces:
IExecutableExtension,IExecutableExtensionFactory
public class PrologExecutableExtensionFactory extends Object implements IExecutableExtension, IExecutableExtensionFactory
-
-
Constructor Summary
Constructors Constructor Description PrologExecutableExtensionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcreate()protected Optional<org.osgi.framework.Bundle>getBundle()protected com.google.inject.InjectorgetInjector()protected CoreExceptionhandleCreationError(Throwable cause)In the case that the EEF fails to create an injector or an instance of the desired class this method is called to produce a more user friendly error message.voidsetInitializationData(IConfigurationElement config, String propertyName, Object data)
-
-
-
Field Detail
-
GUICEKEY
public static final String GUICEKEY
- See Also:
- Constant Field Values
-
log
protected org.apache.log4j.Logger log
-
clazzName
protected String clazzName
-
config
protected IConfigurationElement config
-
-
Method Detail
-
setInitializationData
public void setInitializationData(IConfigurationElement config, String propertyName, Object data) throws CoreException
- Specified by:
setInitializationDatain interfaceIExecutableExtension- Throws:
CoreException
-
create
public Object create() throws CoreException
- Specified by:
createin interfaceIExecutableExtensionFactory- Throws:
CoreException
-
handleCreationError
protected CoreException handleCreationError(Throwable cause)
In the case that the EEF fails to create an injector or an instance of the desired class this method is called to produce a more user friendly error message.- Since:
- 2.13
-
getBundle
protected Optional<org.osgi.framework.Bundle> getBundle()
-
getInjector
protected com.google.inject.Injector getInjector()
-
-