如何部署IBM Filenet P8订阅? [英] How to deploy an IBM Filenet P8 Subscription?

查看:94
本文介绍了如何部署IBM Filenet P8订阅?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我使用Filenet P8 Content Platform Engine 5.2.1和WebSphere 8.5.5.3的当前项目中,我想知道如何将内容引擎订阅部署到系统。



<我搜索了IBM文档,但是它说明了如何构建订阅但不知道如何部署它(或者至少我错过了它)



IBM管理控制台Content Platform Engine允许您注册新的订阅,但在操作步骤期间,它会要求您提供实现Action的完全限定类名,我假设它是针对应用程序类路径进行验证的。
没有办法上传课程,所以我再次假设它必须放在软件安装结构的某个地方。



是什么方式正确地将订阅部署到IBM Filenet系统?

解决方案

有订阅处理工作流程,有些处理不工作流程。
我假设您指的是非工作流订阅(处理事件操作的订阅)。



订阅用于订阅类(即文档) )参加活动。
事件操作是您实际引用实现Action的完全限定类名的位置。当您创建订阅时,其中一个步骤允许您也创建一个事件操作。



事件操作可以引用java类,也可以引用javascript 。



在引用java类的情况下,需要代码模块。



代码模块是文档的子类。代码模块只是类文件或jar文件作为代码模块对象的内容元素。



所以你需要:


  1. 创建一个实现com.filenet.api.engine.EventActionHandler的类(或者你也可以创建一个PreProcessor,但是没有订阅)

  2. 将类上传到代码模块对象

  3. 创建一个引用代码模块中实现EventActionHandler的Class的事件操作。

  4. 创建引用您的事件操作的订阅。

一些有用的文档:


  1. 更改预处理器

  2. 活动和订阅

  3. 一个漂亮的eclipse小插件,可以让事件操作更容易编写和更新


In my current project using Filenet P8 Content Platform Engine 5.2.1 with WebSphere 8.5.5.3, I'm wondering how to deploy a content engine subscription to the system.

I searched the IBM documentation but it tells how to build up a subscription but not how to deploy it (or at least I missed it)

The IBM Administrative Console for Content Platform Engine allows you can register new subscriptions, but during the operation steps it asks you for the fully qualified class name implementing the Action, verifying its existence, I assume, against the application classpath. There is no way to upload the class so I would, again, assume that it must be placed somewhere in the software installation structure.

What is the way to properly deploy subscriptions to a IBM Filenet system?

解决方案

There are Subscriptions that deal with workflows, and ones that do not. I am assuming that you are referring to non-workflow subscriptions (subscriptions that deal with Event Actions).

Subscriptions are used to subscribe a class (i.e. Document) to an Event Action. An Event Action is where you actually reference the fully qualified class name implementing the Action. When you create a subscription, one of the steps allows you to also create an Event Action.

Event Actions can either refer to a java class, or can also refer to javascript.

In the case of referring to a java class, a Code Module is needed.

Code Module is a sub-class of Document. Code Modules are simply either class files or jar files as the Content Element of a Code Module object.

So you need to:

  1. create a class that implements "com.filenet.api.engine.EventActionHandler" (or you could also create a PreProcessor, but that doesn't have a subscription)
  2. Upload the class into a Code Module object
  3. Create an Event Action that references the Class that implements EventActionHandler inside your Code Module.
  4. Create a subscription that references your Event Action.

Some useful documentation:

  1. Change PreProcessors
  2. Events and Subscriptions
  3. A nice little plugin for eclipse that makes event actions easier to write and update

这篇关于如何部署IBM Filenet P8订阅?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆