On Tue, Sep 2, 2008 at 4:20 AM, <[EMAIL PROTECTED]> wrote:

> Hello, I would like ask a very beginner's question about Process Management
> API. I would like to use interfaces from org.apache.ode.bpel.pmapi package.
> My intention is to use that API to obtain some variables' data from process
> instances. The question is: how do I obtain a reference to objects
> implementing those interfaces from another web application (my container is
> Tomcat 6). I have understood that special web services are dedicated to
> process management, however I would like to bypass web interface as my
> application will always run in the same container as ODE will.
>

You could hook to org.apache.ode.axis2.ODEServer.init(...) by subclassing
ODEServer and basically just calling super. Then use getInstanceManagement()
and getProcessManagement() to access the management interfaces and do
whatever you want with them.

Cheers,
Matthieu

Reply via email to