XU 플러그인을 위해 실행 단위(XU) 구성

규칙 엔진에 대한 이벤트 플러그인 확장 클래스를 작성하고 패키징한 후 plugins XU 구성 특성에서 XU 플러그인을 선언해야 합니다.

프로시저

XU 구성 특성을 설정하려면 다음을 수행하십시오.

  1. 애플리케이션 서버의 관리 콘솔을 사용하거나 다음과 같이 .rar 아카이브에서 ra.xml 배치 디스크립터 파일을 수정하십시오.
    [...]
        <config-property>
           <config-property-name>plugins</config-property-name>
           <config-property-type>java.lang.String</config-property-type>
           <config-property-value>
              {pluginClass=Management,xuName=default},
              {pluginClass=mypackage.MyPlugin,a_property_key=the_value}
           </config-property-value>
         </config-property>
    [...]
  2. ra.xml 파일을 .rar 아카이브로 리패키징하십시오.
  3. 애플리케이션 서버를 다시 시작하십시오.