Examples of EnvDescriptor


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

  public EnvBinding() {
    super("env");
  }

  public Object parse(Element element, Parse parse, Parser parser) {
    EnvDescriptor envDescriptor = new EnvDescriptor();

    String typeName = XmlUtil.attribute(element, "type");
    envDescriptor.setTypeName(typeName);
   
    String objectName = XmlUtil.attribute(element, "object");
    envDescriptor.setObjectName(objectName);
   
    return envDescriptor;
  }
View Full Code Here

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

      // wire the JobExecutorTimerSession
      objectDescriptor.setClassName(JobExecutorTimerSession.class.getName());

      // inject fields
      objectDescriptor.addInjection("transaction", new TransactionRefDescriptor());
      objectDescriptor.addInjection("jobExecutor", new EnvDescriptor(JobExecutor.class));
      objectDescriptor.addInjection("session", new ContextTypeRefDescriptor(Session.class));
    }

    return objectDescriptor;
  }
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.