Package ch.qos.logback.core.util

Examples of ch.qos.logback.core.util.PropertySetter


    Pattern pattern, Attributes attributes, ExecutionContext ec) {
    //LogLog.debug("in NestComponentIA.isApplicable <" + pattern + ">");
    String nestedElementTagName = pattern.peekLast();

    Object o = ec.peekObject();
    PropertySetter parentBean = new PropertySetter(o);

    int containmentType = parentBean.canContainComponent(nestedElementTagName);

    switch (containmentType) {
    case PropertySetter.NOT_FOUND:
    case PropertySetter.AS_COMPONENT:
    case PropertySetter.AS_COLLECTION:
View Full Code Here


    if (ec.isEmpty()) {
      return false;
    }

    Object o = ec.peekObject();
    PropertySetter parentBean = new PropertySetter(o);
    parentBean.setContext(context);

    ContainmentType containmentType = parentBean
        .canContainComponent(nestedElementTagName);

    switch (containmentType) {
    case NOT_FOUND:
    case AS_SINGLE_PROPERTY:
View Full Code Here

    if (actionData.inError) {
      return;
    }

    PropertySetter nestedBean = new PropertySetter(actionData.nestedComponent);
    nestedBean.setContext(context);

    if (nestedBean.canContainComponent("parent") == ContainmentType.AS_SINGLE_COMPONENT) {
      nestedBean.setComponent("parent", actionData.parentBean.getObj());
    }
    if (actionData.nestedComponent instanceof LifeCycle) {
      ((LifeCycle) actionData.nestedComponent).start();
    }
View Full Code Here

TOP

Related Classes of ch.qos.logback.core.util.PropertySetter

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.