Examples of HistorySessionDescriptor


Examples of org.jbpm.pvm.internal.wire.descriptor.HistorySessionDescriptor

  public HistorySessionsBinding() {
    super("history-sessions");
  }

  public Object parse(Element element, Parse parse, Parser parser) {
    HistorySessionDescriptor historySessionsDescriptor = (HistorySessionDescriptor) parse.contextMapGet(KEY_HISTORY_SESSIONS_DESCRIPTOR);
    if (historySessionsDescriptor==null) {
      historySessionsDescriptor = new HistorySessionDescriptor();
      parse.contextMapPut(KEY_HISTORY_SESSIONS_DESCRIPTOR, historySessionsDescriptor);
    }
   
    CollectionDescriptor listDescriptor = (CollectionDescriptor) LIST_BINDING.parse(element, parse, parser);
    historySessionsDescriptor.add(listDescriptor);

    return historySessionsDescriptor;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.