Class NotificationValve

java.lang.Object
com.easydesk.pipeline.AbstractDefaultValve
com.easydesk.workflow.pipeline.NotificationValve
All Implemented Interfaces:
Valve
Direct Known Subclasses:
BeforeNotificationValve, OnEndNotificationValve

public abstract class NotificationValve extends AbstractDefaultValve

Executer Selector : ItemTypeNameExecuter

Item type 이름에 해당하는 <ItemType>NotificationExecuter 를 찾아 실행한다. 없으면 기본 Executer (BaseBeforeNotificationExecuter / BaseOnEndNotificationExecuter)를 쓴다. executer 는 com.easydesk.workflow.notification.before 또는 ...onend package 에 있다 - 어느 쪽인지는 하위 class (BeforeNotificationValve, OnEndNotificationValve)가 정한다. (예전에는 PACKAGE_NAME 에 before/onend 를 빠뜨려서 항상 ClassNotFoundException 이 났다.)

Author:
Youncho Cho
  • Constructor Details

    • NotificationValve

      public NotificationValve()
  • Method Details

    • getSubPackage

      protected abstract String getSubPackage()
      executer 의 하위 package 이름: before 또는 onend
    • getDefaultExecuterName

      protected abstract String getDefaultExecuterName()
      기본 executer 의 class 이름 (package 제외)
    • execute

      public void execute(PipelineData pipelineData) throws Exception
      Description copied from class: AbstractDefaultValve
      DOCUMENT ME!
      Specified by:
      execute in class AbstractDefaultValve
      Parameters:
      pipelineData - DOCUMENT ME!
      Throws:
      Exception - DOCUMENT ME!