Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] question about BPEL object model API

Sam,

of course there is - this is what EMF is about. Once you load the process
model, you get a process object. On that you can say
process.getPartnerLinks() to get all Partner Links.
With the BPELFactory you can create a new PartnerLink object (p1) that you
then can use in such a way:

process.getPartnerLinks().add(p1).

It is as easy as that for all elements in the BPEL model. I suggest that
you read up on EMF and take a close look at the BPEL model.
As far as GMF is concerned: By the time the BPEL Designer was started, GMF
didn't even exists, nor were there rumours about it. Also, I am not sure
whether GMF would give us the flexibility we need in some areas ...

Cheers
Simon

Simon Moser, M.Eng.


                                                                          
 Websphere Integration       Mail:           IBM Deutschland Entwicklung  
 Developer Development       smoser@xxxxxx.  GmbH                         
 Team Lead BPEL Editor       com             Vorsitzender des             
 Dept. 4722, Bldg.           Phone:          Aufsichtsrats: Martin Jetter 
 71032-01, Room 086          +49-7031-16-43  Geschäftsführung: Herbert    
 Websphere Solutions and     04              Kircher                      
 Services                    Fax:            Sitz der Gesellschaft:       
 IBM Deutschland             +49-7031-16-48  Böblingen                    
 Entwicklung GmbH            90              Registergericht: Amtsgericht 
 Schönaicherstr. 220, D –                    Stuttgart, HRB 243294        
 71032 Boeblingen                                                         
                                                                          








                                                                           
             sam wang                                                      
             <samwzm@xxxxxxxxx                                             
             >                                                          To 
             Sent by:                  bpel-dev@xxxxxxxxxxx                
             bpel-dev-bounces@                                          cc 
             eclipse.org                                                   
                                                                   Subject 
                                       [bpel-dev] question about BPEL      
             15.11.2007 20:08          object model API                    
                                                                           
                                                                           
             Please respond to                                             
              "BPEL Designer                                               
             project developer                                             
               discussions."                                               
             <bpel-dev@eclipse                                             
                   .org>                                                   
                                                                           
                                                                           




Thanks the replies from Simon and Michael!

I have reported the bug about jar file's directory, and I feel sorry that
the current Eclipse BPEL
didn't use GMF technology.

Another question, is there BPEL object model API that I can use to
manipulate BPEL
programmatically instead of through BPEL designer? I know there is a model
load method, but I need
more, for example, adding a new parterlink, assign value, etc.

thanks!
Sam



____________________________________________________________________________________

Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev

Back to the top