Class OMWorkflow

All Implemented Interfaces:
Workflow
Direct Known Subclasses:
EasyDeskWorkflow

public class OMWorkflow extends DefaultWorkflow
Item 을 제외한 다른 모든 OM 들이 등록되거나, 변경될 때 Optionable 과 Artifactizable 에 관련된 내용을 포함함다.
Version:
$id: OMWorkflow.java $Revision$, 09-02-17 11:42:27 AM KST
Author:
YounghoCho
  • Field Details

    • ATTRIBUTE_OPTION_CLASS_NAME

      protected static final String ATTRIBUTE_OPTION_CLASS_NAME
      AttributeOption 은 Optionable 이고 Artifactizable 인데, Artifactizable 인 경우는 Attribute 의 속성에 따라 경정이 된다. 따라서 Workflow 의 경로를 분리하기 위하여 도입했다. TODO : 막아둔 Attribute.ARTIFACTIZABLE 을 살려 이 경로 분리를 제거할 지, 속성들의 특성을 공통화 할 수 있는지 확인하여 진행한다.
      See Also:
    • pipelineService

      @Autowired protected PipelineService pipelineService
      WorkflowFactory.getInstance() 가 OMWorkflow(또는 그 서브클래스)를 리플렉션으로 만든 직후 SpringBeanFactoryHolder.autowire(workflow) 를 호출해서 채워 넣는다. - add()/modify() 가 이 필드 없이는 동작할 수 없으므로 ( 무조건 pipelineService.register(...) 를 탐으로 ) required 는 기본값(true)으로 둔다: Spring 컨텍스트가 뜬 상태에서 PipelineService 빈을 못 찾으면 나중에 NPE 로 조용히 죽는 대신 autowire 시점에 바로 예외로 드러나는 편이 낫다.
  • Constructor Details

    • OMWorkflow

      public OMWorkflow()
  • Method Details