Package org.jbpm.wire.descriptor

Examples of org.jbpm.wire.descriptor.TypeRefDescriptor


* @author Tom Baeyens
*/
public class StandardJobSessionBinding implements Binding {

  public Object parse(Element element, Parse parse, Parser parser) {
    TypeRefDescriptor typeRefDescriptor = new TypeRefDescriptor();
    typeRefDescriptor.setContextClass(HibernatePvmDbSession.class);

    FieldOperation persistenceServiceInjection = new FieldOperation();
    persistenceServiceInjection.setFieldName("hibernateSession");
    persistenceServiceInjection.setDescriptor(typeRefDescriptor);
   
View Full Code Here


   
    // by default eager initialization is enabled
//    descriptor.setInit(AbstractDescriptor.INIT_REQUIRED);

    // inject the command executor
    TypeRefDescriptor commandExecutorDescriptor = new TypeRefDescriptor();
    commandExecutorDescriptor.setContextClass(CommandService.class);

    FieldOperation commandExecutorInjection = new FieldOperation();
    commandExecutorInjection.setFieldName("commandService");
    commandExecutorInjection.setDescriptor(commandExecutorDescriptor);
   
View Full Code Here

TOP

Related Classes of org.jbpm.wire.descriptor.TypeRefDescriptor

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.