public class FeatureRepository extends Object implements Initializable
The processors are initialized with the properties based configuration loaded from the following locations in the order they are specified. All properties are merged in the given order and hence the last specified locations takes the precedence
$name | The feature name specified in the IntegrationFeature.name() annotation parameter |
$mode | The lowercase string representation of the server environment mode as specified in
XEnvironment.Mode |
$conf | The configuration directory of the server runtime |
$projectName | The name of the project as per the project.xpml contained in the project archive .xpr file |
The features that are used in processing elements, connectors or other features are auto wired looking them up as per
the FeatureRef
annotation.
IntegrationFeature
,
FeatureRef
Constructor and Description |
---|
FeatureRepository(XProjectConfig projectConfig,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
<T> T |
getFeature(Class<T> clazz) |
void |
init(org.springframework.context.ApplicationContext context) |
public FeatureRepository(XProjectConfig projectConfig, ClassLoader classLoader)
public void init(org.springframework.context.ApplicationContext context)
init
in interface Initializable
public void destroy()
destroy
in interface Initializable
public <T> T getFeature(Class<T> clazz)
Copyright © 2016–2019 AdroitLogic. All rights reserved.