/jbpm-flow/src/main/java/org/jbpm/marshalling/impl/RuleFlowProcessInstanceMarshaller.java

https://github.com/mariofusco/jbpm · Java · 41 lines · 12 code · 8 blank · 21 comment · 0 complexity · a1a6f723225a38feae07726439a5f296 MD5 · raw file

  1. /**
  2. * Copyright 2010 JBoss Inc
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package org.jbpm.marshalling.impl;
  17. import org.jbpm.ruleflow.instance.RuleFlowProcessInstance;
  18. import org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl;
  19. /**
  20. * Marshaller class for RuleFlowProcessInstances
  21. *
  22. * @author <a href="mailto:kris_verlaenen@hotmail.com">Kris Verlaenen</a>
  23. * @author mfossati
  24. */
  25. public class RuleFlowProcessInstanceMarshaller extends
  26. AbstractProcessInstanceMarshaller {
  27. public static RuleFlowProcessInstanceMarshaller INSTANCE = new RuleFlowProcessInstanceMarshaller();
  28. private RuleFlowProcessInstanceMarshaller() {
  29. }
  30. protected WorkflowProcessInstanceImpl createProcessInstance() {
  31. return new RuleFlowProcessInstance();
  32. }
  33. }