com.hammurapi.config
Interface PropertySource

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
MethodCall, NamedObjectDefinition, NamedScript, ObjectDefinition, Profile, Script
All Known Implementing Classes:
MethodCallImpl, NamedObjectDefinitionImpl, NamedScriptImpl, ObjectDefinitionImpl, ProfileImpl, ScriptImpl

public interface PropertySource
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Property Source'. Source of properties, i.e. named objects.

The following features are supported:

See Also:
ConfigPackage.getPropertySource()

Method Summary
 org.eclipse.emf.common.util.EList<Path> getClassPath()
          Returns the value of the 'Class Path' containment reference list.
 org.eclipse.emf.common.util.EList<Profile> getProfile()
          Returns the value of the 'Profile' containment reference list.
 org.eclipse.emf.common.util.EList<Named> getProperty()
          Returns the value of the 'Property' containment reference list.
 void injectProperties(InjectionConfig injectionConfig)
           
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getProperty

org.eclipse.emf.common.util.EList<Named> getProperty()
Returns the value of the 'Property' containment reference list. The list contents are of type Named. Collection of named objects.

Returns:
the value of the 'Property' containment reference list.
See Also:
ConfigPackage.getPropertySource_Property()

getProfile

org.eclipse.emf.common.util.EList<Profile> getProfile()
Returns the value of the 'Profile' containment reference list. The list contents are of type Profile. It is bidirectional and its opposite is 'Owner'. Profiles to customize properties for different environmetns.

Returns:
the value of the 'Profile' containment reference list.
See Also:
ConfigPackage.getPropertySource_Profile(), Profile.getOwner()

getClassPath

org.eclipse.emf.common.util.EList<Path> getClassPath()
Returns the value of the 'Class Path' containment reference list. The list contents are of type Path. Each profile can have its own classpath. Profile classloader is constructed with the profile's path entries and parent profile or object definition classloader. It allows to have different qualities of bytecode in different environments. E.g. in DEV the code can be compiled with debug information, in load test it can be instrumented to collect performance metrics, and in PROD it can be compiled with debug information off to improve performance.

Returns:
the value of the 'Class Path' containment reference list.
See Also:
ConfigPackage.getPropertySource_ClassPath()

injectProperties

void injectProperties(InjectionConfig injectionConfig)
                      throws ConfigurationException
Throws:
ConfigurationException