Package org.jibeframework.core.annotation

Examples of org.jibeframework.core.annotation.ConversationAttribute


            } else {
              args[i] = val;
            }
            break;
          } else if (ConversationAttribute.class.isInstance(paramAnn)) {
            ConversationAttribute convAttrAnn = (ConversationAttribute) paramAnn;
            if (StringUtils.isEmpty(convAttrAnn.value())) {
              for (Object attr : context.getConversation().getAttributes().values()) {
                if (attr != null && parameters[i].getParameterType().isAssignableFrom(attr.getClass())) {
                  args[i] = attr;
                }
              }
            } else {
              args[i] = context.getConversation().getAttribute(convAttrAnn.value());
            }
          }
        }
      }
      Class<?> parameterType = parameters[i].getParameterType();
View Full Code Here

TOP

Related Classes of org.jibeframework.core.annotation.ConversationAttribute

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.