ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: Access Process management API from Java code
Date Tue, 02 Sep 2008 17:09:00 GMT
On Tue, Sep 2, 2008 at 4:20 AM, <tyelperinquar@netscape.net> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message