com.hammurapi.config.runtime
Interface ConfigurationContext<D extends org.eclipse.emf.ecore.EObject>
- All Superinterfaces:
- Context, DestroyableSink
public interface ConfigurationContext<D extends org.eclipse.emf.ecore.EObject>
- extends Context, DestroyableSink
Configuration context for model elements.
- Author:
- Pavel Vlasov
getDefinition
D getDefinition()
- Returns:
- ECore definition of given element.
getPath
Object[] getPath()
- Returns:
- Object's parents.
findParent
<T> T findParent(Class<T> type)
- Finds object's parent of given type.
- Type Parameters:
T - - Parameters:
type -
- Returns:
- Parent of given type or null.
getClassLoader
ClassLoader getClassLoader()
- Returns:
- Classloader for the component to load additional classes and resources.
getFactoryConfig
FactoryConfig getFactoryConfig()
- Returns:
- Factory config for configuring sub-components.