• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dynamic WOOperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamic WOOperation


  • Subject: Dynamic WOOperation
  • From: Corin Lawson <email@hidden>
  • Date: Fri, 9 Jun 2006 11:58:54 +1000

Hi,

I'm discovering the rich world of D2WS, the component-based operations look great but I wish I had more documentation that's more programmatically minded.

I have some questions:

Is it possible (and how) for a WOOperation instance (or subtype thereof) to discover it's 'operationName' and change it's behaviour according to it's value?

For example, can I setup a number of rules that configure a web service with a number of operations that all have the same operationClassName, say, OperationClassX. When a request comes in for a particular operation and the invoke method is invoked can the instance of OperationClassX determine which operation was called (perhaps from the WOContext, WORequest or the WOComponent itself) and act accordingly? I think that it must... I think I'll start looking at the request cycle of the WOOperation.


Also are there any caveats about programmatically creating and add rules to the D2WModel.defaultModel() when instantiating an application?


Thanks,

Corin.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Synchonize Schema Oracle
  • Next by Date: Documentation Issue
  • Previous by thread: Beginning WebObjects Class - Seattle
  • Next by thread: Documentation Issue
  • Index(es):
    • Date
    • Thread