Package de.odysseus.calyxo.base.conf

Examples of de.odysseus.calyxo.base.conf.FeatureConfig


   * Apply features (call methods and set properties)
   */
  protected void apply(Object value, ClassLoader loader) throws ConfigException {
    Iterator features = getFeatureConfigs();
    while (features.hasNext()) {
      FeatureConfig feature = (FeatureConfig)features.next();
      if (feature instanceof MethodConfig) {
        ((MethodConfig)feature).invoke(value.getClass(), value, loader);
      } else if (feature instanceof PropertyConfig) {
        ((PropertyConfig)feature).set(value, loader);
      }
View Full Code Here

TOP

Related Classes of de.odysseus.calyxo.base.conf.FeatureConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.