Dynamic WOOperation
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