|
Hi...
1) If
main processor comes across an xml fragment of type SynapseObject in synapse.xml
it needs to call a
processor
(SynapseObjectProcessor
maybe) to convert the xml fragment into a SynapseObject
instance.
2) But
we need a place holder for this instance, now the question is where to put
it for further reference.
From a
scoping perspective, we can scope it at two levels
a)
specific to a mediator
If it
is specific to a mediator then we should extend the current mediator to have a
member variable of type hashtable and appropriate getters and setters.
We can push the SynapseObject in the hashtable, this also allows the
user to use any kind of object if in case they choose not to you
SynapseObject.
b)
global.
For
global usages we can put synapseObject
instances in the SynapseEnvironment which can be used by any part of
synapse.
The
getters and setters might look up the hierarchy... Mediator's hashtable, then
environment...
~Vikas.
|
- Re: SynapseObject - Reminder... Vikas
- Re: SynapseObject - Reminder... Paul Fremantle
- RE: SynapseObject - Reminder... Mukund Balasubramanian
- Re: SynapseObject - Reminder... Paul Fremantle
- RE: SynapseObject - Reminder... Soumadeep
- Re: SynapseObject - Reminder... Paul Fremantle
- Re: SynapseObject - Reminder... ant elder
- RE: SynapseObject - Reminder... Mukund Balasubramanian
- Re: SynapseObject - Reminder... Paul Fremantle
- Re: SynapseObject - Reminder... Saminda Abeyruwan
- RE: SynapseObject - Reminder... Mukund Balasubramanian
